PRF192 - Review

PRF192 - Review

University

12 Qs

quiz-placeholder

Similar activities

Ant science

Ant science

5th Grade - University

11 Qs

7BUSS007C - 1

7BUSS007C - 1

University

10 Qs

Drug For Anti-Hypertension

Drug For Anti-Hypertension

University

11 Qs

DCIT Week 1 Quiz

DCIT Week 1 Quiz

University

10 Qs

Facility Layout Type

Facility Layout Type

University

13 Qs

PLANE TABLE SURVEYING

PLANE TABLE SURVEYING

University

15 Qs

Power Electronics Activity

Power Electronics Activity

University

17 Qs

Adopt me roblox quiz by stupidelephant911

Adopt me roblox quiz by stupidelephant911

KG - Professional Development

11 Qs

PRF192 - Review

PRF192 - Review

Assessment

Quiz

Other

University

Practice Problem

Hard

Created by

Phạm Văn Dương 20202652M

Used 30+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a valid variable name declaration?

int __a3;

int __3a;

int __A3;

None of the mentioned

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why do variable names beginning with the underscore is not encouraged?

It is not standardized

To avoid conflicts since assemblers and loaders use such names

To avoid conflicts since library routines use such names

To avoid conflicts with environment variables of an operating system

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is valid C expression?

int my_num = 100,000;

int my_num = 100000;

int my num = 1000;

int $my_num = 10000;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Compile time error

Hello World! 34

Hello World! 1000

Hello World! followed by a junk value

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following C code?

The compiler will flag an error

The program will compile and print the output 5

The program will compile and print the ASCII value of 5

The program will compile and print FAIL for 5 times

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the size of an int data type?

4 Bytes

8 Bytes

Depends on the system/compiler

Cannot be determined

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

p and q are 4 and 4

p and q are 4 and 8

compiler error

p and q are 2 and 8

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?