
Round1

Quiz
•
Engineering
•
University
•
Medium
Pavan Reddy
Used 11+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 10 pts
Guess the output of following C code
int x=10;
printf(x);
10
x
no output
compile error
2.
MULTIPLE CHOICE QUESTION
20 sec • 10 pts
What will be the output of the following C code?
int a=5, b=10;
printf("%d", a+b);
15
510
5+10
compile error
3.
MULTIPLE CHOICE QUESTION
20 sec • 10 pts
Identify the output of this C code snippet:
char c='A';
printf("%c", c+1);
B
A
compile error
no output
4.
MULTIPLE CHOICE QUESTION
20 sec • 10 pts
What will be printed by the following C code?
float f=3.14;
printf("%.1f", f);
3.1
3.14
3.140
compile error
5.
MULTIPLE CHOICE QUESTION
20 sec • 10 pts
Which of the following is a valid data type in C?
String
char
boolean
list
6.
MULTIPLE CHOICE QUESTION
20 sec • 10 pts
What does the if statement do in C?
Executes a block of code repeatedly
Executes a block of code only if a specified condition is true
Exits a loop
Declares a function
7.
MULTIPLE CHOICE QUESTION
20 sec • 10 pts
What is the output of print(10 // 3) in Python?
3.33
3
3.0
4
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Data Structures and Algorithms Quiz-1

Quiz
•
University
30 questions
ByteBattle2.0(C)

Quiz
•
University
25 questions
Qualifier Set B

Quiz
•
University
25 questions
Arduino based quiz

Quiz
•
2nd Grade - University
30 questions
Hackharbor 3.0 Day 4:C

Quiz
•
University
20 questions
python quiz1

Quiz
•
University
20 questions
NumPy

Quiz
•
University
20 questions
Sustainable Food Systems Quiz

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Engineering
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University