
C & Python Programming Quiz

Quiz
•
Information Technology (IT)
•
University
•
Hard

Jeeva L
Used 3+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Consider the code (in Image). What will be the output?
Two
TwoThreeDefault
ThreeDefault
Compilation error
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
In C, what does sizeof("hello") evaluate to?
5
6
Depends on compiler
4
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Consider the code (Image). What will be printed?
A
B
C
Undefined
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Evaluate the output of this program (in Image)
6
1
3
0
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What kind of error occurs in this code?
Compile-time error
Runtime-time error
Index out of bounds
3
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of this loop?
5 4 3 2 1
4 3 2 1 0
5 4 3 2 1 0
Compilation error
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How many lines are printed by this code?
2
3
4
5
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
TCE - 1st Quiz

Quiz
•
11th Grade - University
22 questions
MOBILE COMPUTING 1

Quiz
•
University
20 questions
DSA (QUIZ 6) Hashing, Graphs, Advanced Graph Algorithms, and DP

Quiz
•
University
15 questions
CMDP2063 Unix and C Programming

Quiz
•
University
15 questions
C - Parithabangal

Quiz
•
University
20 questions
Java MCQs on Syntax and Semantics

Quiz
•
University
15 questions
Perulangan

Quiz
•
University
20 questions
Quizizz SIOTICS #2

Quiz
•
10th Grade - University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

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

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University