Coding Competation(Round 1)

Coding Competation(Round 1)

University

30 Qs

quiz-placeholder

Similar activities

Examen Trimestral de Informática 2°ABCDE

Examen Trimestral de Informática 2°ABCDE

8th Grade - University

25 Qs

MOBILE DEVICE

MOBILE DEVICE

1st Grade - University

25 Qs

UTS BASIS DATA TERDISTRIBUSI

UTS BASIS DATA TERDISTRIBUSI

University

25 Qs

UTS KEAMANAN

UTS KEAMANAN

University

25 Qs

Animation Quiz1

Animation Quiz1

University

25 Qs

¿Sabes más que un estudiante de avanzada? 2023-1

¿Sabes más que un estudiante de avanzada? 2023-1

University

25 Qs

MIS Quiz 4

MIS Quiz 4

University

25 Qs

220-1002   A+  1-25

220-1002 A+ 1-25

University

25 Qs

Coding Competation(Round 1)

Coding Competation(Round 1)

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

GOPE KUMAR

Used 9+ times

FREE Resource

AI

Enhance your content in a minute

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

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Integer n1=2000,n2=2000;

Integer n3=20,n4=20;

System.out.println(n3==n4);

System.out.println(n1==n2);

What will be the output for the given code snippet in java?

True,True

False,True

False,False

True,False

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output for the given C code ?

var=1000,a=01000

var=8,a=8

var=1000,a=512

var=1000,a=8

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

System.out.println(0.3 == 0.1*3);

System.out.println(0.2 == 0.1*2);

What will be the output for the given code snippet in java ?

True,True

False,True

False,False

True,False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output for the given C code?

Welcome

Compile time error!

No output

Welcome to SitarWelcome

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output for the given Java code ?

NaN

Compile error

Infinity
0.0

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output for the given Java code snippet ?

4

3

Compile time error

Depend on compiler

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the given C code ?

Based on 32 bit computer


sizeof(str1) = 7, sizeof(str2) = 7 


sizeof(str1) = 8, sizeof(str2) = 9


sizeof(str1) = 4, sizeof(str2) = 9


sizeof(str1) = 4, sizeof(str2) = 7

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