Computer Programming (Mid-term Exam)

Computer Programming (Mid-term Exam)

University

40 Qs

quiz-placeholder

Similar activities

Teknologi Perkantoran Kelas X AP

Teknologi Perkantoran Kelas X AP

KG - Professional Development

40 Qs

PRIOR KNOWLEDGE ASSESSMENT IN PHOTOSHOP

PRIOR KNOWLEDGE ASSESSMENT IN PHOTOSHOP

University

35 Qs

Cooperative & Rural Market

Cooperative & Rural Market

KG - University

35 Qs

History Reading 3 Vocabulary Quiz

History Reading 3 Vocabulary Quiz

KG - University

42 Qs

SM1 - Unit 3 - L2

SM1 - Unit 3 - L2

3rd Grade - University

35 Qs

ACC 26 - QUIZ 2

ACC 26 - QUIZ 2

University

35 Qs

NUR016- Theoretical Foundation of Nursing pt.2

NUR016- Theoretical Foundation of Nursing pt.2

University

35 Qs

Elective 1

Elective 1

University

37 Qs

Computer Programming (Mid-term Exam)

Computer Programming (Mid-term Exam)

Assessment

Quiz

Other

University

Practice Problem

Easy

Created by

NAZMIRUL IZZAD BIN NASIR

Used 18+ times

FREE Resource

AI

Enhance your content in a minute

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

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of these is used to start a single-line comment in Java?

#

//

/*

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of these is not a valid data type in Java?

byte

int

string

float

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the correct way to declare a variable that stores a whole number?

int num;

whole num;

double num;

number num;

4.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Which of the following will correctly output 10Java?

System.out.println(10 + Java);

System.out.println(10 + "Java");

System.out.println(Java + 10);

System.out.print(10 Java);

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will be the result of System.out.println(2 + 3 * 4);?

20

14

24

10

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is used to store a single character?

char

String

boolean

int

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Java programs are compiled to an intermediate form called:

Source code

Assembly

Bytecode

Machine code

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?