SLG IPC144 Week 10

SLG IPC144 Week 10

Professional Development

12 Qs

quiz-placeholder

Similar activities

Java OOP

Java OOP

Professional Development

10 Qs

DS1

DS1

Professional Development

10 Qs

DECI - Week 12 - round

DECI - Week 12 - round

Professional Development

14 Qs

BrightChamps Technical Round - C++ language

BrightChamps Technical Round - C++ language

Professional Development

15 Qs

C PROGRAMMING BASICS-QUIZ-1

C PROGRAMMING BASICS-QUIZ-1

Professional Development

15 Qs

JavaScript Pass by value, Pass by Reference, Scope Hoisting

JavaScript Pass by value, Pass by Reference, Scope Hoisting

Professional Development

15 Qs

[FE] Ice Breaking - Navigating the World of Variables, Spread, a

[FE] Ice Breaking - Navigating the World of Variables, Spread, a

Professional Development

10 Qs

Practice Test Operator and Control Flow Statement 01

Practice Test Operator and Control Flow Statement 01

Professional Development

15 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?