
OODP FT1 Assessment Questions
Authored by Suresh S
Other
University
Used 6+ 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
45 sec • 1 pt
Guess the output of the following code:
Hello
lo
Hel
llo
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What's wrong with this code?
Variable-sized array declaration
Array index out of bound
Missing return statement
All of these
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
This code will give the output as -----
123
12
1234
12345
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
An array is a collection of
different data types scattered throughout memory
the same data type scattered throughout memory
the same data type placed next to each other in memory
different data types placed next to each other in memory
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of the following code:
0
2
1
3
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is FALSE in C
Keywords can be used as variable names
Variable names can contain a digit
Variable names do not contain a blank space
Capital letters can be used in variable names
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The below code prints infinite number of 2's.
True
False
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?