Primitive Types

Primitive Types

10th Grade - University

20 Qs

quiz-placeholder

Similar activities

LOGICA Y CONCENTRACION 6

LOGICA Y CONCENTRACION 6

University

15 Qs

permainan bola besar

permainan bola besar

11th Grade

20 Qs

Chayamana Quiz Competition

Chayamana Quiz Competition

1st Grade - University

15 Qs

Manajemen risiko

Manajemen risiko

University

20 Qs

Pedagogi

Pedagogi

University - Professional Development

20 Qs

regional cuisine

regional cuisine

12th Grade

15 Qs

Magajastra

Magajastra

University

20 Qs

MERCADOTECNIA ELECTRONICA U3 (A)

MERCADOTECNIA ELECTRONICA U3 (A)

University

18 Qs

Primitive Types

Primitive Types

Assessment

Quiz

Other

10th Grade - University

Practice Problem

Medium

Created by

Richard Groeneveld

Used 56+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the resulting value of x?


double x;

x = 2.3

2

2.3

Error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the resulting value of x?


int x;

x = 2.3;

Error

2

2.3

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the resulting value of x?


double x;

x = 7;

Error

7

7.0

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the resulting value of x?


int x;

x = 3/4;

Error

0

0.75

1

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the resulting value of x?


double x;

x = 3/4;

Error

0.0

0.75

1.0

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the resulting value of x?


double x;

x = 3.0 / 4;

Error

0.0

0.75

1.0

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the resulting value of x?


int x;

x = 3.0 / 4;

Error

0

1

0.75

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?