Code Combat

Code Combat

University

15 Qs

quiz-placeholder

Similar activities

Python-Basic

Python-Basic

3rd Grade - University

15 Qs

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

Java Arrays

Java Arrays

University

10 Qs

Programming Java

Programming Java

University

20 Qs

Basics Of C Programming

Basics Of C Programming

University

10 Qs

OOP - Java Classes

OOP - Java Classes

12th Grade - University

15 Qs

Programming Fundamentals in java

Programming Fundamentals in java

University

18 Qs

CODE ZENITH

CODE ZENITH

University

15 Qs

Code Combat

Code Combat

Assessment

Quiz

Computers

University

Hard

Created by

Necg club

Used 3+ times

FREE Resource

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

Media Image

What is the output of the following C code?

5

4

6

  • Compiler Error

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?