ch456713
Quiz
•
Other
•
University
•
Practice Problem
•
Easy
Amrit Selva Ganesh
Used 3+ times
FREE Resource
Enhance your content in a minute
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
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
100 questions
Free Mock Test 1 By Todays Ayurveda NTET Preperations
Quiz
•
University
100 questions
RIPASSO QUARTA LEZIONE
Quiz
•
University
97 questions
quiz 7 hospitality technology
Quiz
•
University
100 questions
Kepribadian
Quiz
•
University
100 questions
Engineering Management Quiz
Quiz
•
University
100 questions
AP French Assessment 2.28
Quiz
•
9th Grade - University
100 questions
IJCAHPO: COA QUICK STUDY CARDS (101-200)
Quiz
•
University
100 questions
Tin Học ứng dụng
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
Discover more resources for Other
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University
