Search Header Logo

The Code Crusade Java

Authored by Anubhav Ghosh

Computers

University

Used 2+ times

The Code Crusade Java
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1. What is the value of num at the end if num is an int type?

num = 2;

num = 3;

num=num+3;

num/=2;

2

3

1

5

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2. The set of rules that determine the appropriate way of combining symbols which form correct fragments of code in programming language is called :

Semantics

Syntax

Lexis

Operator

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Find the output for this code snippet

4

2

Compilation error

None of the aboce

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following operator can replace if else statements ?

Bitwise operators

Logical operators

Conditional operator

Arithmetic operators

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Find the output of the given code snippet

12885

12845

58881

54881

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Collection _____________

 inherits the Collections class

Inherits the Iterable interface

Implements the Serializable interface

Implements the Traversable interface

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Find the output of the code snippet

9

10

15

None of the above

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