
Code Combat
Authored by Necg club
Computers
University
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is not a valid data type in java?
int
float
bolean
real
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following loops is guaranteed to execute at least once?
for
while
do-while
if-else
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the output of the code?
print(type(5/2))
int
float
str
None Type
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is used to create a constant in c?
#define
const
Both are correct
No option is correct
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following keywords is used to inherit a class in Java?
implements
extends
inherits
derives
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following data types is mutable in Python?
tuple
string
list
int
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the output of the following C code?
5
4
6
Compiler 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?