The study of computers and computational systems, including their design, development and applications
What is computer science?
The structure and organization of virtually all modern computational devices are based on a single theoretical model
What is Von Neumann Architecture?
An artificial and informal language that helps programmers develop algorithms.
What is pseudocode?
Tell me an algorithm for preparing cereal.
What is
Step 1: Grab a bowl, cereal and milk
Step 2: Pour cereal in bowl.
Step 3: Pour milk in bowl.
Step 4: Eat
START, END, DECLARE, INPUT, OUTPUT, SET, IF...THEN...ELSE, FOR, WHILE, BREAK
What are key terms in pseudocode?
When automated systems unfairly and systematically discriminate against one group of people in favor of another
What is bias?
A volatile, temporary storage space where the computer stores data and instructions that are actively being used.
What is Memory (RAM)
A formal language with a defined set of rules and syntax that allows programmers to write instructions and algorithms for a computer to execute
What is program language?
1. Input the first number.
2. Input the second number.
3. Add the first number and the second number together.
4. Store the result.
5. Output the result.
What is the algorithm for calculating the sum of two numbers?
START
DECLARE ingredients AS LIST
SET ingredients = ["flour", "sugar", "eggs", "butter"]
OUTPUT "Preheat the oven to 350°F"
OUTPUT "Mix dry ingredients"
OUTPUT "Mix wet ingredients"
OUTPUT "Combine both mixtures"
OUTPUT "Pour batter into greased pan"
OUTPUT "Bake for 30 minutes"
OUTPUT "Let it cool before serving"
END
What is pseudocode to bake a cake
Anything that includes a program as an integral part of its function like a self-driving car, a picture editing software or like e-commerce.
What is computing innovation?
The main circuit board that connects and allows communication between various hardware components of the computer. Houses the CPU, memory modules, storage devices and other essential components
What is Motherboard
A programming language that works closely with the computer that is difficult for humans to interpret.
What is low-level language?
Step 1: Create a variable called x and give it the value 4
Step 2: Take x and divide it by 2 and assign that new value to x
Step 3: Take x and multiply it by 3 and assign that new value to x
What is x?
What is 6?
Write the pseudocode for preparing a salad
Step 1: Gather ingredients: lettuce, tomatoes, cucumbers, and dressing.
Step 2: Wash the vegetables.
Step 3: Chop the lettuce, tomatoes, and cucumbers.
Step 4: Mix all ingredients in a bowl.
Step 5: Add dressing and toss.
START
DECLARE ingredients AS LIST
SET ingredients = ["lettuce", "tomatoes", "cucumbers", "dressing"]
OUTPUT "Wash the vegetables"
OUTPUT "Chop the vegetables"
OUTPUT "Mix all ingredients in a bowl"
OUTPUT "Add dressing and toss"
OUTPUT "Serve immediately"
END
A step-by-step set of instructions that we follow to solve a problem or accomplish a task.
What is algorithm?
Responsible for rendering and displaying images, videos and 3D graphics on the computer screen
What is GPU
Computer language that provides programmers with more abstractions and are easier for people to read
What is high level programming?
1. X = 12
2. Take x and multiply it by 2 and assign the new value to x.
3. Take x and add 3 to it and assign that new value to x.
4. Repeat steps 2 and 3
What is the value of x?
What is 57?
Set sum to zero
Set grade counter to one
While grade counter is less than or equal to ten
Input the next grade
Add the grade into the sum
Increment counter by one
Set the class average to the sum divided by ten
Print the average
What is the average of 10 grades?
A collection of program statements that perform a specific task when run by a computer
What is code segment?
The "brain" of the computer that consists of the control unit, which manages the execution of instructions and the arithmetic logic unit
What is CPU?
Programming language that does not require the programmer to worry about syntax, capitalization or punctuation.
What is block-based programming?
Step 1: Pick a value between 1 and 6
Step 2. Repeat step 1
Step 3: Add the two numbers together and store it in a variable called "sum"
Step 4: Divide the "sum" by 2 and store it in a variable called "result"
What conclusion can be made in determining if the number is even or odd from the algorithm?
What is "If "result" is a whole number, the sum is an even number."
Step 1: Start
Step 2: Declare variables n1, n2
Step 3: If n1 is greater than n2,
Display "n1 is Maximum"
else
Display "n2 is Maximum"
Step 4: Stop
What is the pseudocode that identifies the maximum number between two numbers?