python quiz1

python quiz1

University

20 Qs

quiz-placeholder

Similar activities

CHAPTER 2 BOOLEAN ALGEBRA

CHAPTER 2 BOOLEAN ALGEBRA

University

20 Qs

TRICODE CHALLENGE ROUND 1

TRICODE CHALLENGE ROUND 1

University

15 Qs

PPS QUIZZ 1

PPS QUIZZ 1

University

15 Qs

Basic C Programming

Basic C Programming

University

16 Qs

SEM-2(Python-Q1)

SEM-2(Python-Q1)

University

15 Qs

Introduction to C++

Introduction to C++

University

20 Qs

Java MCQ Test Day-2

Java MCQ Test Day-2

University

20 Qs

Electro2 MSW3

Electro2 MSW3

University

20 Qs

python quiz1

python quiz1

Assessment

Quiz

Engineering

University

Hard

Created by

nikhil patten

Used 4+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What command is used to display numbers and text on the screen?

print

input

output

command

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is a variable?

A box where you store values

a type of graphics

Data type

a type of memory

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What symbol is used in Python to assign values to a variable?

equals =

plus +

forward slash /

asterisk *

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will be the output?
name = 'Dave'
print(name)

Dave

'Dave'

name

(name)

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does (10 + 16) equal?

20

22

24

26

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of these would work as a piece of code?
IF answer == "Yes":
if answer == "Yes"
if answer == "Yes":
if answer = "yes":

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is input?

A function that allows us to ask the user to enter some data.

To plug in something.

Data displayed on a screen.

A function

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?