Search Header Logo

SLG IPC144 Week 10

Authored by Novell Rasam

Computers

Professional Development

Used 2+ times

SLG IPC144 Week 10
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To include a header file that is in the current directory, you write:

#include <filename>

#include "filename"

#include filename

#define "filename"

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is NOT a real scope?

Block scope

Global Scope

Function Scope

Local Scope

None of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A variable declared outside all function definitions has...

Global Scope

No Scope

Block Scope

Function Scope

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A variable that we declare within a function header has...

Parameter Scope

360 No Scope

Function Scope

Header Scope

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A variable that we declare within a function body has...

Function Scope

Local Scope

Global Scope

Block Scope

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A variable that we declare within a code block has...

No Scope

Global Scope

Block Scope

Local Scope

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Write a function prototype called display

that takes an int array called g, and an int called n,

and returns nothing

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?