
ch456713
Authored by Amrit Selva Ganesh
Other
University
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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
100 questions
Free Mock Test 1 By Todays Ayurveda NTET Preperations
Quiz
•
University
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Other
20 questions
Disney Trivia
Quiz
•
University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
•
11th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
14 questions
Ch.3_TEACHER-led
Quiz
•
University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University