
OODP_Batch 1_Quiz
Authored by Arunsundar Balasubramanian
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec ⢠1 pt
Guess the output of the following code:
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?