Revision (Input+if)

Revision (Input+if)

9th Grade

11 Qs

quiz-placeholder

Similar activities

8.12 C++ Test on Classes

8.12 C++ Test on Classes

9th - 12th Grade

15 Qs

Arrays

Arrays

9th - 12th Grade

16 Qs

G10_C++_Arrays

G10_C++_Arrays

9th - 11th Grade

12 Qs

Python - Chpt 1 - Review

Python - Chpt 1 - Review

9th - 12th Grade

15 Qs

Python Beginner

Python Beginner

9th - 10th Grade

16 Qs

C++ Quiz 4: Arrays and Vectors

C++ Quiz 4: Arrays and Vectors

7th - 12th Grade

7 Qs

Algorithms / Methods

Algorithms / Methods

9th Grade

8 Qs

Программирование C#

Программирование C#

1st - 10th Grade

10 Qs

Revision (Input+if)

Revision (Input+if)

Assessment

Quiz

Computers

9th Grade

Medium

Created by

Ruchita Dave

Used 1+ times

FREE Resource

AI

Enhance your content

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

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is right way of defining String variable?

String name = "John";

String name = "John"

String name = John;

String name "John";

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Name the data type: 1.0

double

int

char

boolean

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How would you declare a variable that tells you that someone passed a class?

boolean passed = 'true';

boolean passed = true;

passed = true;

String passed = "true";

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

int sum1 = 100 + 50;

int sum2 = sum1 + 250;

int sum3 = sum2 + sum2;

System.out.println(sum3);


What will be the final output?

950

800

sum2sum2

sum1250

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

int x = 4;

System.out.println(x < 5 && x < 10);


What will be the output?

false

true

4

x < 5 && x < 10

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output?

more than 7

more than 23

spam

7

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This operator means that one value is the same as the other value

==

!=

>

<

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?