The IT102 Programming Fundamentals: Quiz assesses foundational programming knowledge, focusing on syntax, function usage, and logical structures in programming. Key skills tested include understanding of comments, function dependencies, main function definition, conditional logic, statement termination, and variable memory allocation.
Because getch() function relies on this file
It adds a function to the main program
Because the header is required to start the program
Rate this question:
Int main()
Using namespace std;
#inlcude
Rate this question:
10
0 1
1 0
01
Rate this question:
Colon
Semicolon
Period
Rate this question:
Identifier
Variable
String
Rate this question:
!x
X
X_y
Rate this question:
Cout
Int
_pi
Rate this question:
Using reserve words
Starting with a number
Using spaces
Combining capital and small letters in one word
Rate this question:
True
False
Rate this question:
Data Types
Data Expression
Assignment Statement
Rate this question:
Int a
Int a;
Int a:
Rate this question:
Int
Float
Char
Rate this question:
Int
Float
Char
Rate this question:
Char
Float
String
Rate this question:
Char
String
Float
Rate this question:
Yes
No
Rate this question:
Yes. The program will run correctly.
No. The program is will not run because of errors.
Rate this question:
Int a = 0
Int a = 0'
Float x (0);
Int x =0;
Char y = 'a';
Rate this question:
Yes. The program is correct.
No. Lacking of variable declaration in the include section so it will not work.
No. The program does not work because of incompatible data type in the variable assignment.
Rate this question:
X = 5;
#define x 5
Const int x;
Rate this question:
\t
\n
\\
Rate this question:
Begin
End
Stop
Rate this question:
Quotient
Dividend
Remainder
Rate this question:
Rate this question:
Rate this question:
==
=
>
Rate this question:
It causes to print something in the screen.
It allows users to loop to the main program
It causes the main function to run.
Rate this question:
To check the program for errors.
To run the program
To save the program.
Rate this question:
Cin
Cout
Getch()
Rate this question:
True
False
Rate this question:
Rate this question:
True
False
Rate this question:
Rate this question:
Quiz Review Timeline (Updated): Mar 22, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.