C Classes

Quiz
•
Computers
•
University
•
Hard
SOUMYAJIT BHATTACHARJEE
Used 1+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
13 questions
Python while loop

Quiz
•
8th Grade - University
10 questions
Basics of C

Quiz
•
University
15 questions
Java Quiz based on array

Quiz
•
University
15 questions
Round 2 Debug-The-Code

Quiz
•
University
15 questions
Coding and Debugging

Quiz
•
University
10 questions
Python Sets

Quiz
•
University
15 questions
Just for fun

Quiz
•
University
10 questions
basic programming quiz

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade