Python CH1-3 Review

Python CH1-3 Review

8th Grade - Professional Development

59 Qs

quiz-placeholder

Similar activities

Orientasi Dasar Perangkat Lunak dan Gim

Orientasi Dasar Perangkat Lunak dan Gim

10th Grade

60 Qs

Primitive Types in Java Programming -Unit 1- AP CSA

Primitive Types in Java Programming -Unit 1- AP CSA

9th - 12th Grade

64 Qs

array review

array review

9th - 12th Grade

60 Qs

Week 7 - User Functions

Week 7 - User Functions

9th - 12th Grade

54 Qs

PF 101 - Activity 5 (OO Design and Principles

PF 101 - Activity 5 (OO Design and Principles

University

55 Qs

FINAL EXAMINATION | CSC 113 - Computer Programming 2

FINAL EXAMINATION | CSC 113 - Computer Programming 2

University

60 Qs

Computer ٍSkills- Chapter 3

Computer ٍSkills- Chapter 3

1st Grade - University

62 Qs

Unit 4 Study Guide

Unit 4 Study Guide

9th Grade - University

54 Qs

Python CH1-3 Review

Python CH1-3 Review

Assessment

Quiz

Computers

8th Grade - Professional Development

Medium

Created by

Tyler Sahlin

Used 11+ times

FREE Resource

59 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following are ways you can run a Python program?

Double clicking on the file directly

Opening the file in IDLE and clicking “Run Module”

Running the program through Command Prompt or terminal

All the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the file extension used for Python scripts?

.py

.p

.python

.ps

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You have a variable named “True” and Python gives you an error. What’s the problem?

The “T” should be lower-case

“True” is a reserved keyword used by Python

Every letter must be capitalized

It’s correct. There is some other problem in the script

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The modulo operator uses what symbol?

**

//

%

^

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python comments are denoted by what symbol?

#

//

/*

$

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

x = True, y = False

What is the value of the expression not x?

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

x = True, y = False

What is the value of the expression y and not x?

True

False

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?