
PRF192 - Review

Quiz
•
Other
•
University
•
Hard
Phạm Văn Dương 20202652M
Used 30+ times
FREE Resource
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
Compile time error
Hello World! 34
Hello World! 1000
Hello World! followed by a junk value
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
p and q are 4 and 4
p and q are 4 and 8
compiler error
p and q are 2 and 8
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Data Types in C++

Quiz
•
University
17 questions
Basic Integration

Quiz
•
12th Grade - University
12 questions
Digital Marketing #2

Quiz
•
University
10 questions
c set 3

Quiz
•
University
15 questions
Engineers Day Celebration Quiz - Code IT, STME HYD

Quiz
•
University
10 questions
Arrays - 2D

Quiz
•
University
13 questions
Java Programming Quiz

Quiz
•
University
10 questions
Tokens Lexeme and Pattern

Quiz
•
University
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University
2 questions
Pronouncing Names Correctly

Quiz
•
University
12 questions
Civil War

Quiz
•
8th Grade - University
18 questions
Parent Functions

Quiz
•
9th Grade - University
21 questions
Mapa países hispanohablantes

Quiz
•
1st Grade - University
19 questions
Primary v. Secondary Sources

Quiz
•
6th Grade - University
25 questions
Identifying Parts of Speech

Quiz
•
8th Grade - University
20 questions
Disney Trivia

Quiz
•
University