SLG IPC144 Week 10

SLG IPC144 Week 10

Professional Development

12 Qs

quiz-placeholder

Similar activities

Quorum Programming Day 2 Review

Quorum Programming Day 2 Review

Professional Development

10 Qs

Javascript Function Quiz

Javascript Function Quiz

Professional Development

11 Qs

C++ Pointers and Arrays

C++ Pointers and Arrays

University - Professional Development

10 Qs

DECI - Week 5 - round

DECI - Week 5 - round

Professional Development

10 Qs

PreTrainingWeek3Content

PreTrainingWeek3Content

Professional Development

11 Qs

Menus, Dialog Boxes and Methods

Menus, Dialog Boxes and Methods

10th Grade - Professional Development

17 Qs

JavaScript Pass by value, Pass by Reference, Scope Hoisting

JavaScript Pass by value, Pass by Reference, Scope Hoisting

Professional Development

15 Qs

PDS - 04225 Pointers & Dynamic Arrays - Chapter 8

PDS - 04225 Pointers & Dynamic Arrays - Chapter 8

University - Professional Development

10 Qs

SLG IPC144 Week 10

SLG IPC144 Week 10

Assessment

Quiz

Computers

Professional Development

Medium

Created by

Novell Rasam

Used 2+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?