1150 Java Basics

1150 Java Basics

University

6 Qs

quiz-placeholder

Similar activities

Array in C

Array in C

University

10 Qs

TECHNICAL C PROGRAM

TECHNICAL C PROGRAM

University

10 Qs

exception

exception

University

10 Qs

Basics of JAVA

Basics of JAVA

University

11 Qs

Expression in C Programming

Expression in C Programming

University

10 Qs

for loops & while loops

for loops & while loops

University - Professional Development

10 Qs

Python debugging

Python debugging

University

10 Qs

Quiz 3

Quiz 3

University

10 Qs

1150 Java Basics

1150 Java Basics

Assessment

Quiz

Computers

University

Medium

Created by

W Mao

Used 9+ times

FREE Resource

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one is not a modifier?

public

static

void

main

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one denotes block of statements?

{ }

[ ]

//

" "

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Unmatched braces in a program belong to

Syntax Errors

Logic Errors

Runtime Errors

No error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which initialization is not correct?

int sum = 0;

int a = 32, m= 14;

int b = 2 c = 4;

int a = 4;

float c = 4.0f;

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the value of 4/ (4/ 2) /2 ?

1

2

4

0.5

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

int count = 0;

_____

// The above line can be used to increase count by 1.