FontysVenlo - PRC1 - W02

FontysVenlo - PRC1 - W02

1st - 3rd Grade

7 Qs

quiz-placeholder

Similar activities

Interfaces

Interfaces

1st Grade

7 Qs

Introduction to Computer Science

Introduction to Computer Science

1st - 9th Grade

10 Qs

Sains Komputer Tingkatan 4 - 1.5.3 Mengenalpasti nilai

Sains Komputer Tingkatan 4 - 1.5.3 Mengenalpasti nilai

KG - Professional Development

2 Qs

FPA-1

FPA-1

1st - 10th Grade

10 Qs

Java Strings

Java Strings

1st Grade - Professional Development

10 Qs

MUSIC. INSTRUMENTS

MUSIC. INSTRUMENTS

2nd Grade

10 Qs

Compro function

Compro function

1st Grade

5 Qs

Pemrograman kls X TAV

Pemrograman kls X TAV

1st Grade

10 Qs

FontysVenlo - PRC1 - W02

FontysVenlo - PRC1 - W02

Assessment

Quiz

Education, Computers

1st - 3rd Grade

Hard

Created by

Frank van Gennip

Used 6+ times

FREE Resource

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

How do you correctly define a main-method in a Java class?

static public main(String[] args) { // some content }

public void static main(String[] args) { // some content }

public static void main(String[] args) { // some content }

static main void(String[] args) { // some content }

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What is NOT a reserved keyword in Java?

void

main

public

static

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which would be the BEST data type choice for the following value: 9.732

Integer

double

int

String

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

What is the output of the following code (see image)

5.5

1

2

10

5.

MULTIPLE SELECT QUESTION

45 sec • 5 pts

How do you end a loop?

break

continue

when the loop condition is false

6.

MULTIPLE SELECT QUESTION

45 sec • 5 pts

Which of the following for loops are valid?

for(;;){}

for(int i=0;i < 5;i++){}

int i = 0;

for(;i < 5;i = i + 2){}

for(int i = 5;i >= 0;i--){}

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

5

7

12

Error

Discover more resources for Education