CODE ZENITH

CODE ZENITH

University

15 Qs

quiz-placeholder

Similar activities

Internet

Internet

University

11 Qs

ICF-Mechanical-(Theory Quiz-2)

ICF-Mechanical-(Theory Quiz-2)

University

10 Qs

have fun with econometrics

have fun with econometrics

University

15 Qs

Algo Quiz

Algo Quiz

University

16 Qs

Server Administration- Quiz 1

Server Administration- Quiz 1

12th Grade - University

10 Qs

Computer Science (1-9) - Identifying & Preventing Threats

Computer Science (1-9) - Identifying & Preventing Threats

University

11 Qs

DI (EM24) - Diseño de Contenidos (T8)

DI (EM24) - Diseño de Contenidos (T8)

University - Professional Development

20 Qs

Round 2 for Preplacement Bootcamp

Round 2 for Preplacement Bootcamp

University

15 Qs

CODE ZENITH

CODE ZENITH

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

NITHIKA KANNAN

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used for inheritance in Java?

a) super

b) extends

c) implements

d) inheritance

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the size of the int data type in Java?

a) 4 bytes

b) 8 bytes

c) 2 bytes

d) Depends on the system architecture

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data structure in C is based on the Last In First Out (LIFO) principle?

a) Queue

b) Stack

c) Linked List

d) Tree

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default value of an integer variable in Java?

a) 0

b) 0.0

c) null

d) Depends on the compiler

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In C language, which of the following is used to allocate memory dynamically?

a) malloc()

b) calloc()

c) realloc()

d) All of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax for a multi-line comment in C?

a) /* comment */

b) // comment

c) # comment

d) ' comment '

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Java code snippet?

int x = 5;

System.out.println(x++ + ++x);

a) 11

b) 12

c) 13

d) 14

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers