Niam_Class2_Quiz

Niam_Class2_Quiz

9th Grade

6 Qs

quiz-placeholder

Similar activities

Python Turtle

Python Turtle

KG - Professional Development

11 Qs

Python Intro

Python Intro

8th - 9th Grade

10 Qs

J277 - 10QQ - Basic Python 1

J277 - 10QQ - Basic Python 1

8th - 10th Grade

10 Qs

Python Practice

Python Practice

9th Grade

10 Qs

Computer Science New Year Review

Computer Science New Year Review

9th - 12th Grade

10 Qs

quizz 2 info3

quizz 2 info3

3rd Grade - University

10 Qs

CodeHS Python Variables

CodeHS Python Variables

7th - 12th Grade

10 Qs

KIỂM TRA 15 PHÚT TIN 10 CD

KIỂM TRA 15 PHÚT TIN 10 CD

9th Grade

10 Qs

Niam_Class2_Quiz

Niam_Class2_Quiz

Assessment

Quiz

Computers

9th Grade

Easy

Created by

Deepika A

Used 1+ times

FREE Resource

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can "Hello World" can be displayed in python ?

console.log('Hello World')
print('Hello World')
print('Hello')
echo 'Hello World'

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to read input from the user in Python?

input()

get()

scan()

read()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How to get input if I am adding 2 numbers in python ?

num1 = input('Enter first number: '); num2 = input('Enter second number: ');

num1 = int(input('First number: ')); num2 = int(input('Second number: '));

num1 = float(input('Enter number: '));

num1 = float(input('Enter first number: ')); num2 = float(input('Enter second number: '));

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for addition in Python?

-

+

*

/

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable in python ?

A variable in Python is a named reference to a value stored in memory.
A variable in Python is a command used to execute code.
A variable in Python is a fixed value that cannot change.
A variable in Python is a type of function.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How to create a variable in Python ?

Use the syntax: variable_name = value.
let variable_name = value
set variable_name to value
variable_name : value