Vocabulary
Test your knowledge
Conversions
Code Snippets
100

a group of interconnected computing devices capable of sending or receiving data

Computer Network

100

=

The assignment operator

100

converts a string to an integer

int()

100

 A variable can start with a hyphen

False



200

a group of computing devices and programs working together for a common purpose

Computing System

200

declare a variable with the name score and with a value of 6 

score = 6 

200

converts a strong to a floating-point number

float()

200

A variable that is represented by either true or false

Boolean

300

a physical artifact that can run a program.

Computing Device

300

This variable is used to represent numeric values such as integers, decimals, and fractions

Number Variable

300

converts a value to a number

num()

300

playerName = " Jennifer " 


What is "Jennifer" referred to as

String

400

a high-level, interpreted programming language known for its simplicity and readability.

Python

400

Name 5 Arithmetic Operators

addition, subtraction, division, multiplication, and modulus(/)(remainder)

400

converts a value to a string

str()

400

True or False 

Variables are case-sensitive

True

500

a name that represents a value.

Variable

500

==

equal to 

500

converts a value to Boolean

bool()

500

What variable naming starts with a lowercase word followed by capitalized words?

Camel Case

600

A form of variable naming where the first word starts with a lowercase letter, and the subsequent words begin with uppercase letters. There are no spaces or punctuation between the words.

Camel Case

600

>

greater than

600
type of conversion where Python automatically converts a value from one data type to another

Implicit

600

playerName = "Jennifer"

playerScore = 5 

message = "Our player %s has the score of %s."%(playerName,playerScore)

player.say(message)

Our player Jennifer has a score of 5

700

(%s) is also known as the “string-formatting operator”

Modulo Operator

700

<

less than 

700

type of conversion explicitly converts one data type to another using functions or operators 

Explicit
700

firstName = Jennifer 

or 

firstName = "Jennifer"

firstName = "Jennifer"
800

values that we pass into a function

Arguments

800

>=

greater than or equal to 

800

playerScore = 4

extraPoint = 3

finalScore = playerScore + extraPoint

What is the value of the variable finalScore

7

800

player1 = 7 

player 2 = 5 

if player1 > player2:

      player.say("Player 1 wins")

is this true or false and what will the output be

True: "Player 1 wins!"

900

a set of commands that a computer follows to perform operations or calculations

Algorithm

900

<=

less than or equal to 

900

playerName = "Jennifer"

playerScore = 3

message = "Our player %s has the score of %s."%(playerName, playerScore)

player.say(message)

What will the player say in the code above 

Our player Jennifer has a score of 3

900

is_sunny = True

if is_sunny:

     player.say("What a nice day")

else:

     player.say("Let's stay inside today")


True: "What a nice day"

False: "Let's stay inside today"