
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
16 questions
Data Structures Prelimes

Quiz
•
University
8 questions
Q1Programming

Quiz
•
University
10 questions
C Functions

Quiz
•
University
17 questions
Singly and Doubly Linked List Quiz

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
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University