Search Header Logo

xyza

Authored by Dignesh Patel

Professional Development

University

Used 1+ times

xyza
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 2 pts

Which is the correct print statement in Python 3?

print('Hello World!')
echo('Hello, World!')
print('Hello, World!')
print('Hello, World!')

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of the following is the correct way to declare a variable in Java?

int 1x = 10;

int x = 10;

float = x 20.0;

string name = "Java";

3.

MULTIPLE CHOICE QUESTION

10 sec • 2 pts

Which is the correct syntax to take input in Python?

input()
read()
getInput()
scan()

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which of these is a valid identifier in Java?

my_variable
1stVariable
myVariable
my-variable

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is the size of an int in Java?

16 bytes
4 bytes
8 bytes
2 bytes

6.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

Which is the correct dictionary syntax?

student = { "name": "John", "age": 20 }

student = [ "name": "John", "age": 20 ]

student = ( "name": "John", "age": 20 )

d) student = < "name":"John", "age":20 >

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What will System.out.println(10/3); output?

4
3
3.33
2

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?