Guess the output of the following code:

OODP_Batch 1_Quiz

Quiz
•
Computers
•
University
•
Hard
Arunsundar Balasubramanian
Used 1+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2.500000
2.000000
2
Compilation Error
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times will the loop execute?
4
5
6
Infinite times
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to declare an integer pointer is
int ptr;
int *ptr;
ptr *int;
int &ptr;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Find the value of x in this code:
10
15
20
40
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This function returns ---------
Fibonacci sequence
Factorial of n
Sum of first n numbers
Power of n
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Output of the following code is:
True
False
Error
Undefined behaviour
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output?
3.14
3.140000
3.1
Error
Create a free account and access millions of resources
Similar Resources on Quizizz
25 questions
TECH_IQ_HUNT ROUND

Quiz
•
University
30 questions
Code Twisters Round One Batch -1

Quiz
•
University
25 questions
BASIC PROGRAMMING

Quiz
•
University
25 questions
Introduction to Java

Quiz
•
University
30 questions
C Quiz 2

Quiz
•
University
30 questions
Round_1 (B)| Coding Combat 2.0

Quiz
•
University
30 questions
JavaScript

Quiz
•
University
30 questions
BUG@MASTER

Quiz
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade