
Computer Science preparatory
Presentation
•
Computers
•
1st - 5th Grade
•
Practice Problem
•
Medium
Henry Osbourne
Used 46+ times
FREE Resource
7 Slides • 16 Questions
1
Computer Science
Preparatory
2
These are the main topics for the exam for programming:
3
These are the main types of variables in Python. For the exam, you will use the basic ones which are.
Integers, Float and strings.
Types of variables
4
These are helpful to ask the user-specific information for the machine to answer, depending the instruction.
Inputs and outputs
5
conditionals are statements that allow the program to make decisions and execute different blocks of code depending on whether certain conditions are true or false.
Conditionals
6
In Python, there are several math operators that are used to perform arithmetic operations on numbers. These operators include Addition, subtraction, multiplication, and division.
Math operators
7
A flowchart is a graphical representation of a process or algorithm that shows the sequence of steps involved and the flow of control between them.
Flowcharts
8
Multiple Choice
What will the output be from the following code? print(3+4)
5
4
7
2
9
Multiple Choice
Numbers with a decimal point belong to a data type called...
Decimal
Float
Pointing
String
10
Multiple Choice
Which of the following text strings is correct?
new_var = "Tim/'s Computer"
new_var = "Tim's Computer"
new_var = "Tim\'s Computer"
new_var = Tim's Computer
11
Multiple Choice
Which of the following is not a string?
new_var = "True"
new_var = "3.123"
new_var = "3123"
new_var = False
12
Multiple Choice
Which of the following is a float?
new_var = 1234
new_var = 1.234
new_var = True
new_var = "True"
13
Multiple Choice
Choose the statement that assigns 4 to the power of 3 to the variable new_var...
new_var = 4 ** 3
new_var = 3 ** 4
new var = 3 ** 4
new_var = 4 ^^ 3
14
Multiple Choice
To create a variable named new_var and assign it a value of 81 divided by 9, which statement would you use?
new_var = 81 \ 9
new_var = "81 \ 9"
new_var = "81 / 9"
new_var = 81 / 9
15
Multiple Choice
Which symbol do we use if we want to add a comment to our code?
&
%
#
@
16
Multiple Choice
How would would you print a text string?
output "Hello!"
print (Hello!)
print ("Hello!")
output (Hello!)
17
Multiple Choice
How would you assign an integer to a variable?
new_var = 4
new_var = "4"
new_var == 4
new var "4"
18
Multiple Choice
How would you output new_var = 123 as a text string?
print str(new_var)
print str[new_var]
print new_var.str
print (new_var).str()
19
Multiple Choice
What does an IF statement do?
Closes the program
Asks a question
Makes a decision
Outputs information
20
Multiple Choice
What is a flowchart?
Just another diagram
A list of instructions
A diagram to represent an algorithm
All the options
21
Multiple Choice
What is the input/output symbol in flowcharts?
A circle
A rhombus
A rectangle
A parallelogram
22
Multiple Choice
This symbol SPLITS the flowchart sequence into multiple paths in order to represent SELECTION and REPETITION.
Input/Output
Start/End
Decision
Arrows
23
Multiple Choice
Which of the following Python operators is used for variable assignment?
=
/
+
-
Computer Science
Preparatory
Show answer
Auto Play
Slide 1 / 23
SLIDE
Similar Resources on Wayground
19 questions
Plant Life Cycle
Lesson
•
2nd - 5th Grade
21 questions
Best Method: Solving Systems of Equations
Lesson
•
7th - 10th Grade
21 questions
Cold War Intro
Lesson
•
KG
20 questions
Would You Rather?
Lesson
•
KG
20 questions
G1-2 iPad, Seesaw, Code.org Basics
Lesson
•
1st - 5th Grade
18 questions
Women's History Month Introduction
Lesson
•
1st - 5th Grade
16 questions
What is a Critique
Lesson
•
1st - 5th Grade
19 questions
Reading Comprehension for Kids
Lesson
•
1st - 4th Grade
Popular Resources on Wayground
10 questions
5.P.1.3 Distance/Time Graphs
Quiz
•
5th Grade
10 questions
Fire Drill
Quiz
•
2nd - 5th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
15 questions
Hargrett House Quiz: Community & Service
Quiz
•
5th Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
20 questions
Inferences
Quiz
•
4th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade