Code Combat

Code Combat

University

15 Qs

quiz-placeholder

Similar activities

Java1

Java1

University

10 Qs

Java Programming

Java Programming

University

15 Qs

C programming

C programming

University

15 Qs

oop with c++

oop with c++

University

20 Qs

Python introduction

Python introduction

University

15 Qs

Programming in C Test-1

Programming in C Test-1

University

10 Qs

Pointers

Pointers

University

20 Qs

Milking Minds 2 17-01-24

Milking Minds 2 17-01-24

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?