This quiz assesses knowledge on basic programming syntax, including variable naming, operator precedence, and reserved keywords in programming languages.
2.5
2
3
2.5
Rate this question:
&
:
%d
;
Rate this question:
Dot.
Number
Stack-queue
#hash
Rate this question:
23
32
31
None of the above
Rate this question:
1A_B
A_B
If
AB@3
Rate this question:
Const
Con
Cons
Constant
Rate this question:
Unsigned character
Unsigned integer
Character
None
Rate this question:
Transfer the contents of s to b
Transfer the content of b to s
Exchange (swap) the contents of s and b
Negate the contents of s and b
Rate this question:
Sum
Double
Total_rate
Size2area
Rate this question:
Incorrect function name
It should be "&d" instead of "%d"
Absence of & before x
No space in function scanf
Rate this question:
A=b=c=8;
2=a
#define XYZ=2.5 ;
P= 4/ c=3;
Rate this question:
Code, compile, link, load and execute
Link, load, code, compile and execute
Code, compile, link, execute and load
Compile, code, link, load and execute
Rate this question:
Assignment
Relational
Unary
None
Rate this question:
Col-total
Sum Total
First.name
Row_1
Rate this question:
Size
From
Break
Key
Rate this question:
0
4
1
2
Rate this question:
Machine language
High level language
Assembly language
None
Rate this question:
Assignment, arithmetic, relational
Arithmetic, relational, assignment
Assignment, relational, arithmetic
Relational, assignment, arithmetic
Rate this question:
Bitwise AND
Bitwise OR
Bitwise NOT
None of the above
Rate this question:
3
4
2
10
Rate this question:
Char
Void
Int
Float
Rate this question:
Initial.Name
A+B
$ABC
Floats
Rate this question:
Char
Int
Float
Double
Rate this question:
The variable a and the variable b are same.
The value of b is assigned to variable a but if b changes later, it will not effect the value of variable a.
The value of b is assigned to variable a but if b changes later, it will effect the value of variable a
The value of variable a is assigned to variable b, and the value of variable b is asssigned to variable a.
Rate this question:
Double
Array
Char
Float
Rate this question:
Logical operator
Relational operator
Assignment operator
None of the above
Rate this question:
Logical operator
Decrement operator
Conditional or Ternary operator
Bitwise operator
Rate this question:
2
1
-1
0
Rate this question:
Is globally accessible by all functions
Has a declaration
Will be initialized to 0 if not initialized
All of these
Rate this question:
32
4
2
1
Rate this question:
:?
?:
??
?::
Rate this question:
Greater than or Less than
Greater Than or Equal to
True OR False
False OR False
Rate this question:
22, 22
23, 23
22, 23
23, 22
Rate this question:
Constant
Identifier
Keywords
Data types
Rate this question:
Relational Operators
Conditional Operators
Logical Operators
Arithmetic Operators
Rate this question:
1
0
Both A and B
None
Rate this question:
Precise
Unambiguous
Both
None
Rate this question:
PI=3.141
Area = 3.2*PI
PI=PI+2
None of these
Rate this question:
Letters
Numbers
Spaces
Underscores
Rate this question:
Constant
Keywords
Delimiter
Operators
Rate this question:
Compiler Error
A
65
97
Rate this question:
0 to 32767
0 to 65536
-32,768 to +32,767
0 to 256
Rate this question:
Keywords
Reserved keywords
Tokens
Identifiers
Rate this question:
An identifier may start with an underscore
An identifier may end with an underscore
IF is a valid identifier
All of the above
Rate this question:
3
1
2
0
Rate this question:
Left to right
Right to left
Assignement
All of the above
Rate this question:
Error
16
6
Both (A) and (B)
Rate this question:
5
10
20
1
Rate this question:
Quiz Review Timeline (Updated): May 3, 2024 +
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.