cs ppqs

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/127

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

128 Terms

1
New cards

explain two reasons why a programmer would choose to write a program in a high-level language, instead of a low-level language.

 

knowt flashcard image
2
New cards

Give two reasons why a programmer would choose to write code in a low-level language.

knowt flashcard image
3
New cards
term image
knowt flashcard image
4
New cards
  1. Many programmers write computer programs in high-level languages. The programs need to be translated into machine code to be read by the computer.

 

State two types of translator that can be used.

compiler

interpreter

5
New cards
term image
knowt flashcard image
6
New cards

compiler

assembler

interpreter

7
New cards
term image
knowt flashcard image
8
New cards
term image
knowt flashcard image
9
New cards
term image
knowt flashcard image
10
New cards
term image
knowt flashcard image
11
New cards

convert 45 to hexadacimal

<p></p>
12
New cards
term image
knowt flashcard image
13
New cards

draw the symbol for an AND gate

knowt flashcard image
14
New cards

write out the truth table for an AND gate

knowt flashcard image
15
New cards
term image
knowt flashcard image
16
New cards
term image
knowt flashcard image
17
New cards

a part of which memory can be used for virtual memory, when a computer runs out of RAM?

knowt flashcard image
18
New cards
<p>DO ADVANTAGES NOT DRAWBACKS</p>

DO ADVANTAGES NOT DRAWBACKS

knowt flashcard image
19
New cards
term image
knowt flashcard image
20
New cards
term image
knowt flashcard image
21
New cards
term image
knowt flashcard image
22
New cards
term image
knowt flashcard image
23
New cards
term image
knowt flashcard image
24
New cards

draw the truth table for a NOT gate

knowt flashcard image
25
New cards
<p>and convert the answer to a decimal value</p>

and convert the answer to a decimal value

knowt flashcard image
26
New cards
term image
knowt flashcard image
27
New cards
term image
knowt flashcard image
28
New cards
term image
knowt flashcard image
29
New cards
term image

the storage and access of files over the internet

30
New cards
term image
knowt flashcard image
31
New cards
term image
knowt flashcard image
32
New cards

write 11100011 as a decimal number

227

33
New cards

which factors affect the performance of a central processing unit? [1]

clock speed

number of cores

34
New cards
<p>expand the last one</p>

expand the last one

apparently its the ALU

<p>apparently its the ALU</p>
35
New cards

why do some computers have a separate graphics processing unit (GPU)? [2]

knowt flashcard image
36
New cards

give one difference between a general purpose and an embedded computer.

knowt flashcard image
37
New cards

give one example of an embedded system

e.g. automatic door, thermostat

38
New cards
term image
knowt flashcard image
39
New cards
term image
knowt flashcard image
40
New cards

What sort of translator could be used so that a translated piece of code could be run independently without access to the translator? [1]

compiler

41
New cards

One characteristic of a CSV file.

comma separated values (CSV)

42
New cards

What are the three basic sections of a system diagram?

input

process

output

43
New cards

What is the purpose of the setup function, found in every piece of Arduino code?

knowt flashcard image
44
New cards

What is the purpose of the loop function, found in every piece of Arduino code?

knowt flashcard image
45
New cards

Stepper motors require drivers. What is a driver?

(remember there are two types)

💡 What is a driver for a stepper motor?

A driver is an electronic device (usually a small circuit or chip) that controls how power is sent to the stepper motor. It acts as a middleman between your control system (like a microcontroller or computer) and the motor itself.

🔧 Why do stepper motors need a driver?

Stepper motors don’t just run when you apply voltage—they need precise electrical pulses to rotate step-by-step. The driver takes low-power signals (from something like an Arduino or Raspberry Pi) and converts them into higher-power signals that the motor can actually use.

A driver does 3 main things:

  1. Amplifies signals – Boosts low-power signals to control the motor.

  2. Controls timing – Sends pulses in the right sequence to turn the motor.

  3. Protects components – Manages current and voltage to avoid damaging the motor or controller.



Sometimes the process device cannot provide a high enough signal (current/voltage) for the output device to work correctly.

In this instance a driver is needed. Drivers use transistors to amplify the current, or to control direction of movement of the motor (forwards or backwards).

The driver translates the low current signal output of Arduino pins into higher current that meets the requirement of stepper motor control signals

<p><span data-name="bulb" data-type="emoji">💡</span> What is a <em>driver</em> for a stepper motor?</p><p class="">A <strong>driver</strong> is an electronic device (usually a small circuit or chip) that <strong>controls how power is sent to the stepper motor</strong>. It acts as a <strong>middleman</strong> between your control system (like a microcontroller or computer) and the motor itself.<br></p><p><span data-name="wrench" data-type="emoji">🔧</span> Why do stepper motors need a driver?</p><p class="">Stepper motors don’t just run when you apply voltage—they need <strong>precise electrical pulses</strong> to rotate step-by-step. The driver takes <strong>low-power signals</strong> (from something like an Arduino or Raspberry Pi) and converts them into <strong>higher-power signals</strong> that the motor can actually use.</p><p></p><p><span data-name="gear" data-type="emoji">⚙</span> A driver does 3 main things:</p><ol><li><p class=""><strong>Amplifies signals</strong> – Boosts low-power signals to control the motor.</p></li><li><p class=""><strong>Controls timing</strong> – Sends pulses in the right sequence to turn the motor.</p></li><li><p class=""><strong>Protects components</strong> – Manages current and voltage to avoid damaging the motor or controller.</p></li></ol><p><br><br>Sometimes the process device <span><strong>cannot</strong></span> provide a <span><strong>high enough signal (current/voltage) </strong></span> for the output device to work correctly.</p><p>In this instance a <span><strong>driver</strong></span> is needed. Drivers use <span><strong>transistors </strong></span>to amplify the current, or to control direction of movement of the motor (forwards or backwards).</p><p>The driver<strong> translates the low current signal output of Arduino pins into higher current that meets the requirement of stepper motor control signals</strong></p><p></p>
46
New cards
term image
knowt flashcard image
47
New cards
term image
knowt flashcard image
48
New cards
term image
knowt flashcard image
49
New cards

draw an OR gate

knowt flashcard image
50
New cards
term image
knowt flashcard image
51
New cards

Give an example of what might be stored in RAM. [2]

knowt flashcard image
52
New cards

Explain what random access means. [1]

knowt flashcard image
53
New cards

What is virtual memory? [1]

Memory temporarily allocated from secondary storage.

54
New cards
term image
knowt flashcard image
55
New cards
term image
knowt flashcard image
56
New cards
term image
knowt flashcard image
57
New cards
term image
knowt flashcard image
58
New cards

Which base would you need to use to make this correct: 11 + 1 = 100

base 2 (binary)

59
New cards
<p></p>

15.5

60
New cards
term image
knowt flashcard image
61
New cards

convert 3053 (10) into hexadecimal.

BED

62
New cards

What is the purpose of the program counter register? [1]

It holds the address of the next instruction to be executed in memory.

63
New cards

At what point(s) in the Fetch-Decode-Execute cycle, does the program counter fetch the address of the next instruction from memory? [2]

<p></p>
64
New cards

Explain why a Graphics Processing Unit (GPU) is used in gaming computers. [2]

knowt flashcard image
65
New cards

Why should the boot-up sequence be stored in a non-volatile memory technology? [2]

knowt flashcard image
66
New cards

Describe the difference in how the ROM is used on a desktop computer and how it is used on an embedded system. [4]

knowt flashcard image
67
New cards
<p>tick if true</p>

tick if true

knowt flashcard image
68
New cards
term image

B) 1 and 3 are true.

69
New cards

Give a use case for an interpreted language. [1]

rapid program or algorithm development

70
New cards

Some systems make use of actuators. Give an example of an actuator and a system in which you might find it. [2]

knowt flashcard image
71
New cards
term image
knowt flashcard image
72
New cards
term image
knowt flashcard image
73
New cards
term image

microcontroller

74
New cards

Convert E38 (16) to denary

knowt flashcard image
75
New cards

What is the role of the register known as the program counter? [2]

knowt flashcard image
76
New cards

Apart from the PC, what are the three other registers found inside the CPU? [3]

MAR, MDR, CIR, ACC

77
New cards

State what is meant by a general purpose device? [2]

knowt flashcard image
78
New cards

Identify two characteristics that should be present in the storage for a mobile device. [2]

knowt flashcard image
79
New cards

State the technology you would recommend for the secondary storage for a tablet device. [1]

Solid State Drive (SSD)

80
New cards
term image
knowt flashcard image
81
New cards

Explain why microcontrollers are usually programmed using a compiled language. [2]

knowt flashcard image
82
New cards

State the differences between the purpose of a MAC address and that of an IP address. [2]

knowt flashcard image
83
New cards
term image
knowt flashcard image
84
New cards

What is the purpose of a port? [1]

knowt flashcard image
85
New cards
<p>(ports)</p>

(ports)

both true

86
New cards
term image
knowt flashcard image
87
New cards
term image
knowt flashcard image
88
New cards
term image
knowt flashcard image
89
New cards

Does 11011101 represent 189 (10)?

knowt flashcard image
90
New cards
term image
knowt flashcard image
91
New cards
term image
knowt flashcard image
92
New cards

draw an XOR gate

knowt flashcard image
93
New cards

Fill in the truth table for an XOR gate

knowt flashcard image
94
New cards

Describe what is meant by Von Neumann architecture. [2]

knowt flashcard image
95
New cards

State the main benefit of Von Neumann architecture. [1]

<p></p>
96
New cards
term image

<p></p>
97
New cards

Buses are found on the motherboard of a modern computer. What is a bus? [2]

knowt flashcard image
98
New cards

What is meant by latency in computing. [2]

knowt flashcard image
99
New cards
term image
knowt flashcard image
100
New cards

is ROM volatile or non-volatile?

non-volatile