
C Classes
Authored by SOUMYAJIT BHATTACHARJEE
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
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a function?
A mathematical operation
A relation that assigns each element of a set to exactly one element of another set
A random number generator
A variable in programming languages
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the output of the program?
Hello, World!
World!
Hello,
Error
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code ?
Square of 5 is: 25
25
5
Error
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Output of the code
CodeQuotient
CodeQuotientGet better at coding
CodeQuotient Get better at coding
Compile time error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Output of the following program
4
14-12
16
Virtual Error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int i = 1 ;
while ( 1 ) {
i++ ;}
Is this will result in infinite loop??
Yes
No
Probably
Run time error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int y, x = 0 ;
do { y = x ; }
while ( x == 0 ) ;
Will this result in infinite loop?
Not sure
No
Yes
Segmentation Fault
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
13 questions
Chap 1: What is a program made of?
Quiz
•
University
10 questions
Introduction to AI - Healthcare & Business
Quiz
•
University - Professi...
15 questions
Komponen Jaringan & Pengkabelan
Quiz
•
University
10 questions
Lourdes Amaranta Ayala Gracia
Quiz
•
8th Grade - University
10 questions
BIOMETRICS-UNIT-I
Quiz
•
University
15 questions
AWS ACF Módulo 2 - Economia e Faturamento na Nuvem
Quiz
•
University
10 questions
CHAPTER 1: COMPUTER SECURITY REVIEW
Quiz
•
University
10 questions
ระบบทางเทคโนโลยี ม.4
Quiz
•
10th Grade - 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