
Programming Lab Quiz
Authored by Yash Sinha
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which is valid C expression?
int my_num = 100,000;
int my_num = 100000;
int my num = 1000;
int $my_num = 10000;
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the result of logical or relational expression in C?
True or False
0 or 1
0 if an expression is false and any positive number if an expression is true
None of the mentioned
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is an example of iteration in C?
for
while
do-while
all of the mentioned
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following C code?
#include
Compile time error
Hello World! 34
Hello World! 1000
Hello World! followed by a junk value
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will happen if the following C code is executed?
#include
It will cause a compile-time error
It will cause a run-time error
It will run without any error and prints 3
It will experience infinite looping
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following C code?
#include
Nothing
Run time error
Hello
Varies
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following C code? (Assuming that we have entered the value 1 in the standard input)
#include
1
2
1 2
Run time error
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
20 questions
Web Development and Programming
Quiz
•
University
21 questions
CÂU HỎI ÔN TAP HKI
Quiz
•
5th Grade - University
20 questions
data structures1
Quiz
•
University
16 questions
Quiz on List and Tuples
Quiz
•
University
16 questions
JavaScript Learning Quiz 1
Quiz
•
12th Grade - University
20 questions
Sistem Informasi Manajemen
Quiz
•
University
20 questions
Week 5: Test your understanding part 1
Quiz
•
University
20 questions
Microsoft Excel
Quiz
•
KG - Professional Dev...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Computers
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
20 questions
Endocrine System
Quiz
•
University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
30 questions
W25: PSYCH 250 - Exam 2 Practice
Quiz
•
University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
38 questions
Unit 8 Review - Absolutism & Revolution
Quiz
•
10th Grade - University