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
Paket Soal kearsipan 7.0
Quiz
•
University
100 questions
Paket Soal Kearsipan 3.0
Quiz
•
University
101 questions
Quiz TIK Kelas 4 SD
Quiz
•
4th Grade - University
100 questions
IJCAHPO: COA QUICK STUDY CARDS (01-100)
Quiz
•
University
100 questions
Undercarriedge 5
Quiz
•
12th Grade - University
100 questions
CEANDERECHO SIMULACRO 2_4
Quiz
•
University
103 questions
Review 7 - 8 -9 - 10
Quiz
•
University
100 questions
NISM Practice
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
Discover more resources for Other
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University
5 questions
Helping Build the Internet: Valerie Thomas | Great Minds
Interactive video
•
11th Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
19 questions
Review2-TEACHER
Quiz
•
University
15 questions
Pre2_STUDENT
Quiz
•
University
20 questions
Ch. 7 Quadrilateral Quiz Review
Quiz
•
KG - University
