Fundamentals
Bugs - Find'n'Fix
Binary
Output
What is this?
100

Name one input device

Keyboard, mouse, microphone

100

print(Hello World)

print("Hello World")

100

How many bits in 2 bytes?

16
100
n = 5

x = n + 5

print(x+5)

15

100

what is the escape character for a newline

"\n"

200

Name 2 output devices

printer, monitor

200

my name = "Sujatha"

myname = "Sujatha"

200

What is the binary value of 32

100000

200

print(10 +2)

12

200

command for output to screen in python

print()

300

What does CPU stand for?

Central Processing Unit

300

print("Hello" + \n + "World")

print("Hello\nWorld")

OR

print("Hello" + "\n" + World")

300

What is the decimal value of 1000 0000

128

300

print("10" + "2")

102

300

function to change the data type to integer

int()

400

Name 2 types of Memory in Computers: 

RAM, HardDrive, Disk Drive 

OR

Primary Memory, Secondary Memory

OR

Volatile and Non-Volatile Memory

400

The command to input a number from the user:

n = input(int("Enter a number: "))


n = int(input("Enter a number"))

400

How many candles do I need to represent 5(decimal) in binary

3

5(dec)  is 101(bin)

400

x = "My"

y = "Friends"

print(x+"y")

Myy

400

"/t"

Its does not mean anything

"\t" is the Escape Character for tab

500

A ................. translates source code / high level language into binary /machine code

Compiler / Interpreter

500

n = 5

print("Nubmer is" + n)

n = 5

print(Nubmer is" + str(n))

500

What is the decimal value of 0000 1111

15

500

n = "10"

print(n*2)

1010

500

what is the datatype that represents decimal values

float

M
e
n
u