
Programming Lab Quiz
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Yash Sinha
Used 1+ times
FREE Resource
Enhance your content in a minute
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
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...
20 questions
Web Development and Programming
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
