How to output a single sentence
print("sentence")
What character is called string?
A character who has been quoted " Hi" like this.
Define Pseudo Code
A detailed description of what a computer program must do.
What sort of task can be represented by an algorithm?
.....Almost anything
Adding two numbers together
Finding a customer’s credit card number in a large database
Getting ready for school in the morning
Ordering an item from Amazon
Creating a new presentation in Google Slides
shape of if statement
diamond
What are the two Boolean Operators?
True and False
What class needs to be imported before writing input?
Scanner
What's the first thing from starting a psudocode?
Give it a name
What is an Algorithm?
A step-by-step procedure for doing a task.
process shape
rectangle
How to write a condition code in Python?
If ..... :
print(.....)
else:
print(.....)
public static void main(String[] args)
What does public in this code mean?
"public" means it can be accessed from anywhere
What will a loop do?
To keep doing something when it fits the condition
what could Algorithm do in programs?
Sorting numbers
Finding the biggest number
Searching for a name in a list
shape of the start and end.
capsule/stadium shape
Name of the loop in Python
While loop, for loop.
How to write the output of Java.
System.out.print("Hi");
What are the Three Constructs? (name 2 of 3)
Sequence, Decision, Repetition
What is the difference between an Algorithm and Pseudocode?
An algorithm is a sequence of instruction to solve a problem
Pseudocode is a language that represents an algorithm.
input shape
rhomboid
What can a function do in Python?
Makes your program easier
Eliminates repetitive code
May debug parts one at a time
Can be reused in other programs
Give an example of escape sequences.
\n newline
\t tab
\” double quote
\\ backslash
Pseudocode is what type of language?
an artificial and informal language
[5, 2, 9, 1, 6]
What method can you change it to a sorted list?
Bubble sort that swaps the adjacent elements.
shape of connector - a jump of one point in the sequence to another
circle