Exam 1 Practice

Exam 1 Practice

University

15 Qs

quiz-placeholder

Similar activities

Java Control and Loop -2

Java Control and Loop -2

University

20 Qs

ZeroToMastery

ZeroToMastery

University - Professional Development

20 Qs

Python Basics Quiz 1

Python Basics Quiz 1

8th Grade - University

15 Qs

0xDebug - Python

0xDebug - Python

University

10 Qs

C++ Assessment

C++ Assessment

University

10 Qs

Python Control Statements

Python Control Statements

University

10 Qs

Understanding Python Functions

Understanding Python Functions

University

20 Qs

Activity 1 - Computer Programming Terminologies

Activity 1 - Computer Programming Terminologies

University

15 Qs

Exam 1 Practice

Exam 1 Practice

Assessment

Quiz

Computers

University

Medium

Created by

Tyler Lovell

Used 91+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function is used to get a value from the user of the program in Python?

print()

input()

read()

inp()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3.5

3

4

2

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used to find the remainder of a division in Python?

//

%

/

**

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the possible results from the randint function with arguments 2 and 8?

2, 3, 4, 5, 6, 7, 8

2 or 8

3, 4, 5, 6, 7

2, 3, 4, 5, 6, 7

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3

4

1

2

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following code snippets correctly checks if a number entered by the user is even or odd?

Media Image
Media Image
Media Image
Media Image

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Given the code snippet, what will be the output?

Greater

Lesser

There will be an error

There will be no output

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?