ch456713

Quiz
•
Other
•
University
•
Easy
Amrit Selva Ganesh
Used 3+ times
FREE Resource
99 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is an lvalue in C?
A) A label name
B) A literal constant
C) An object stored in computer memory
D) An error message
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What does the statement count++ do?
Sets count to 0
Increments count by 1
Multiplies count by 2
Decreases count by 1
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is a correct use of assignment chaining?
i + j + k = 0;
i == j == k == 0;
i = j == k = 0;
i = j = k = 0;
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of
i = 8; j = 4; i *= j++;
printf("%d %d", i, j); ?
32 4
40 5
40 4
32 5
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which form of increment returns the incremented value immediately?
x--
--x
++x
x++
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
In a switch statement, what data types can the controlling expression be?
int, char, enum
array
string and float
float and double
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output if grade = 3 ?
switch (grade) { case 4: printf("Excellent"); case 3: printf("Good"); case 2: printf("Average"); case 1: printf("Poor"); case 0: printf("Failing"); }
GoodAveragePoorFailing
Good
GoodAverage
GoodAveragePoor
Create a free account and access millions of resources
Similar Resources on Wayground
103 questions
0-100

Quiz
•
University
101 questions
Quiz TIK Kelas 4 SD

Quiz
•
4th Grade - University
104 questions
CSDL QH NEW

Quiz
•
University
100 questions
Orenda E-Sports CSGO Callouts

Quiz
•
KG - Professional Dev...
100 questions
Test 401-500

Quiz
•
University - Professi...
100 questions
Python Тіліндегі Сұрақтар

Quiz
•
University
100 questions
hihihihi

Quiz
•
University
101 questions
робототехнтка2рк

Quiz
•
University
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

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

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade
Discover more resources for Other
36 questions
USCB Policies and Procedures

Quiz
•
University
4 questions
Benefits of Saving

Quiz
•
5th Grade - University
20 questions
Disney Trivia

Quiz
•
University
2 questions
Pronouncing Names Correctly

Quiz
•
University
15 questions
Parts of Speech

Quiz
•
1st Grade - University
1 questions
Savings Questionnaire

Quiz
•
6th Grade - Professio...
26 questions
Parent Functions

Quiz
•
9th Grade - University
18 questions
Parent Functions

Quiz
•
9th Grade - University