Revision C class

Quiz
•
Computers
•
University
•
Easy
Abhishek Pandey
Used 2+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a bitwise operator in C?
<<
|
^
/
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of explicit type casting in C?
int x = 10.5;
float y = 10;
int x = (int) 10.5;
double z = 100;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which loop is guaranteed to execute at least once?
while
for
do while
for each
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
__________ involves a function calling itself repeatedly until a specified condition is met.
User defined function
Reiteration
Library function
Recursion
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax to declare a constant in C?
int constant x = 3;
const int x = 3;
constant int x = 3;
#constant 3
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the expression a *= 2 do in C?
a += 2
a = 2 / a
a = a * 2
a = a * a
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement is used to skip the current iteration of a loop in C?
break
continue
goto
for
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Array in C

Quiz
•
University
15 questions
ANALYSIS OF ALGORITHMS

Quiz
•
University
7 questions
Quiz 1

Quiz
•
University
15 questions
BASIC C PROGRAMMING QUIZ

Quiz
•
University
10 questions
Expression in C Programming

Quiz
•
University
10 questions
C++ Functions

Quiz
•
University
10 questions
FCP Series 4

Quiz
•
University
15 questions
Computer Science 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