
MCQ in programming
Authored by Rema m
English
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The statement char ch = ‘Z’ would store in ch :
The character Z
ASCII value of Z
Z along with the single inverted commas
Both (A) and (B)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a character constant?
‘Thank You’
‘Enter values of P, N, R’
‘23.56E-03’
All the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
. The maximum value that an integer constant can have is .................
-32767
32767
1.7014e+38
–1.7014e+38
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statement is wrong ?
mes = 123.56;
con = 'T' * 'A';
this = 'T' * 20;
3 + a = b;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following shows the correct hierarchy of arithmetic operators in C++ ?
**, * or /, + or -
**, *, /, +, -
**, /, *, +, -
/ or *, - or +
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If a is an integer variable, a = 5/2; will return a value
2.5
3
2
0
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The name of the variables, functions, labels and other user defined object are called .................
expression
identifier
pointer
statement
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
9 questions
Home Repairs
Quiz
•
University
8 questions
Shopping
Quiz
•
University
13 questions
NARRATIVE TENSES AND LINKERS
Quiz
•
University
12 questions
Elementary Comparatives
Quiz
•
5th Grade - Professio...
9 questions
11 GENERAL UNIT 6 LESSONS 3-4 - VOCABULARY QUIZ
Quiz
•
9th Grade - University
9 questions
13 American Colonies
Quiz
•
University
15 questions
Rigel A
Quiz
•
10th Grade - Professi...
9 questions
SALES G's & S's
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade