MindSpace Computers Java Test-5 2023

MindSpace Computers Java Test-5 2023

University

6 Qs

quiz-placeholder

Similar activities

Clustering_Pertemuan2_Quiz_Ceria

Clustering_Pertemuan2_Quiz_Ceria

University

10 Qs

INTRODUCCION A LA PROGRAMACION

INTRODUCCION A LA PROGRAMACION

6th Grade - University

10 Qs

2025 python class first quiz

2025 python class first quiz

9th Grade - University

10 Qs

Let's Play Together

Let's Play Together

University - Professional Development

10 Qs

Q5 - ICT2

Q5 - ICT2

University

10 Qs

MT_Chapter 5 & 6 (set 2)

MT_Chapter 5 & 6 (set 2)

University

10 Qs

Planning and Implementation of Information Security

Planning and Implementation of Information Security

University

10 Qs

T02: Python - The Basics

T02: Python - The Basics

University

10 Qs

MindSpace Computers Java Test-5 2023

MindSpace Computers Java Test-5 2023

Assessment

Quiz

Computers

University

Medium

Created by

Atul Bondre

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

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

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Write Output:

int n = 5;

System.out.print(n++);

4

5

6

7

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Write Output:

int n = 5;

System.out.print(++n);

4

5

6

7

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Write Output:

int n = 5;

int m = n++;

System.out.print("M="+m);

System.out.print("N="+n);

M=5 N=6

M=5 N=5

M=6 N=6

M=6 N=5

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Write Output:

int n = 5;

int m = - -n;

System.out.print("M="+m);

System.out.print("N="+n);

M=4 N=4

M=5 N=4

M=4 N=5

M=5 N=5

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Give syntax of Conditional Operator?

var = e1 ? e2 : e3

var = e1 : e2 : e3

var = e1 : e2 ? e3

var = e1 ? e2 ? e3

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which operator is known as Ternary Operator?

Conditional Operator

Increment - Decrement Operator

Logical Operator

Arithmetic Operator

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