stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
FCS Midterm Review Flashcards | StudBud
Explore
/
FCS Midterm Review
FCS Midterm Review
35 terms
·
StudBud Administration
·
9 plays
Test your knowledge on the pioneers of computing and the basics of computer science
Flashcards
35 cards
F
Practice quiz
P
Host live
L
Questions
35
Answers
1
Which color is #0000FF?
Red
Green
Blue
Yellow
2
What does an if/else statement look like in Karel (CodeHS)?
check(condition): do action1 otherwise:do action2
if(condition): action1 else: action2
if(condition) { action1; } else { action2; }
3
What is the decimal equivalent of the hexadecimal number FF?
255
32
47
55
4
What is the command to make Karel put down a ball?
turnLeft();
turnRight();
move();
putBall();
5
What is the decimal equivalent of the hexadecimal number 3F?
55
47
32
63
6
What was the main limitation of Charles Babbage’s Analytical Engine?
No algorithms were made
Lack of funding
It was built but never worked
It used outdated technology
7
What is the binary representation of the ASCII value for the character 'C'?
1000001
1000100
1000011
1000111
8
Which of the following correctly matches the same value in decimal, binary, and hexadecimal?
Decimal: 20, Binary: 11111, Hexadecimal: 0x14
Decimal: 15, Binary: 1111, Hexadecimal: 0xF
Decimal: 10, Binary: 1011, Hexadecimal: 0xA
Decimal: 31, Binary: 11010, Hexadecimal: 0x1E
9
True or false: Babbage's machine was completed
True
False
10
What is the command to make Karel check if there is a ball present?
move();
turnLeft();
turnRight();
frontIsClear();
11
What is the hexadecimal equivalent of the decimal number 10?
A
55
47
32
12
What was Babbage's machine called?
Difference Engine
Enigma
Analytical Engine
Turing Machine
13
If a circuit has a voltage of 12V and a resistance of 6Ω, what is the current?
3
6
2
12
14
Which law calculates resistance?
Ohm's Law
Newton's Law
Kepler's Law
Boyle's Law
15
True or false: Hex codes represent colors
False
True
16
Which color is #FF0000?
Green
Yellow
Blue
Red
17
The formula for Ohm's Law is V=IR
False
True
18
True or false: #00FF00 is blue
True
False
19
What is the decimal value of the ASCII character 'A'?
68
57
64
65
20
What is the decimal value of the number in the image?
12
8
4
9
21
Which number system is used to store information digitally on a computer?
Decimal
Hexadecimal
Octal
Binary
22
Which number system uses base 16?
Octal
Decimal
Binary
Hexadecimal
23
True or false: Ohm's Law calculates velocity
True
False
24
Which number system uses base 10?
Octal
Decimal
Binary
Hexadecimal
25
Is data abstraction a technique used in computer programming?
False
True
26
What did Ada Lovelace contribute to the creation of the computer?
Hardware design
First algorithm
Networking
User interface
27
In a circuit with LEDs, what happens if the resistor value is too low?
Nothing happens
The LEDs won't light up
The circuit will short out
The LEDs will burn out
28
True or false: Ada Lovelace was a mathematician
True
False
29
What is the base number system used in binary?
2
8
16
10
30
In a game where 00000010 = 5 points and 11000001 = 7 points, what is the max points using an 8-bit unsigned integers?
127
200
285
255
31
We teach Karel new commands in CodeHS by defining a new function in the program.
False
True
32
If Super Karel is at (3, 5) facing east and moves 2 steps forward, which street and avenue will Karel be on?
Street: 5, Avenue: 3
Street: 5, Avenue: 7
Street: 3, Avenue: 7
Street: 3, Avenue: 5
33
Which programming structure allows you to repeat a set of instructions?
functions
conditionals
variabes
loops
34
What is a common use for hexadecimal numbers in computing?
Measuring data size
Programming syntax
Calculating time
Encoding colors in digital design
35
How many unique values can be represented by a 4-bit binary integer?
15
NOTE: the total number of unique values for n(number)-bit integers is 2^n
16
32
8