Digital Systems And Computer Engineering Flashcards

1
Q

What is a microcontroller?

A

A computer on a single integrated circuit (IC)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a graphic processing unit ( GPU )?

A

A processor optimised for 2D/3D graphics and for visual processing.

Its highly parallel, highly multithreaded multiprocessor.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What can quantum computing do?

A

Can perform certain computational problems faster than traditional technologies.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is computer paradigm based on?

A

Based on qbit.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a program written for Adrino IDE called?

A

Sketch

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How is the architecture of a computer important to its hardware?

A

It represents the interconnectivity of a computer’s hardware components.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How does the hardware of a computer improve its performance?

A

1- Allows the use of fasters electronics.
2- Increases clock frequency which is why modern microprocessors can operate over the 5GHz range and require faster transistors and have a strong relationship with energy consumption such as overheating.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How does the energy management of a computer improve its performance?

A
  • Dynamic scaling of clock frequency.
  • Manages switching activity at the transistor level.
  • Allows better performance of energy recovery in logic circuits.
  • Optimises the machine’s code through the use of more energy-efficient instruction sequences.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How can space managements improve the performance of a computer’s hardware?

A

by using 3D integrated circuits and increasing the transistor density per unit area (Moor’s law).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the different ways to improve the performance of computer hardware?

A

Architectural, Hardware, Enery management and Space management improvements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is an identifier?

A

A variable.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What must an identifier be?

A
  • A sequence of letters (a-z, A-Z), underscores (_), and digits (0-9).
  • Start with a letter or underscore.
  • Identifiers are case sensitive meaning lower and upper case letters differ.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is a floating point number?

A

Is a real number containing a decimal point that can appear anywhere in the number.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are constant variables and how do you declare them?

A

Are initialized variables whose value cannot change.
const is used to declare constant variables.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is a character?
In what form is a character stored?
Where is a character stored?
What does a space before the %c cause?

A

A variable that can store a single character like the letter m.
Binary number form.
In the ASCII standard System.
Will cause the program to not read any upcoming white space.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is printf () function?

A

Allows a program to print text and formatted numbers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is scanf used for?

A

Scanf is used to read a user-entered value into a variable.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

What are underscores treated as?

A

As letters.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What is needed in the Arduino development board?

A
  • Arduino board.
  • Compatible IDE (integrated development environment).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

What is Arduino?

A

Arduino is an open-source electronics platform based on easy-to-use hardware and software and is intended for anyone making interactive projects.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What is a sketch?

A

A program written for Arduino IDE (integrated development environment).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What does the minimum Arduino sketch look like?

A

Void setup ()
{
}

void loop ()
{
}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

What is a format specifier?

A

A format specifier is a placeholder that defines the type of value that will be printed in its place.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

What does a branch mean in Arduino?

A

A branch is a sequence of statements only executed under a certain condition.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

What does computer hardware include?

A

Computer hardware includes the physical parts of the computer like the case and central processing unit (CPU).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

How does the architecture of the computer improve its hardware?

A
  • Decreases CPI (clock cycle per instruction).
  • Decreases the clock time by reducing propagation delays or by using pipelining.
  • Decreases the number of required cycles.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

What is propagation delay?

A

The amount of time required for a signal to be received after it has been sent.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

What is pipelining?

A

The process of accumulating instructions from the processor through a pipeline.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

What does dynamic mean?

A

A force that simulates progress within a system.

30
Q

What is a clock?

A

It is the rate at which a processor executes instructions.

31
Q

What is a thread?

A

The smallest sequence of programmed instruction.

32
Q

What is Moor’s law?

A

The doubling of IC (integrated circuit) capacity roughly every 18 months.

33
Q

What does an operating system do?

A

Manages programs and interfaces with peripherals.

34
Q

What are peripherals?

A

Any computing device that is part of the computer but does not perform any core computing process like speakers.

35
Q

What is RAM (random access memory)?

A

A changeable storage with faster access usually located off processor chip.

36
Q

What is cache?

A

A relatively small changeable storage with faster access, which is located on the processor chip.

37
Q

What is a disk?

A

Unchangeable storage with slower access which means its content stays the same even when the power is off.

38
Q

What are the values of a bit?

A

A bit can have the value of 0 or 1.

39
Q

What does a compiler do?

A

Translates a high-level language program into low-level machine instructions.

40
Q

What is application?

A

Another word for program.

41
Q

What is machine instruction?

A

A series of 0s and 01 stored in memory that tells a processor to carry out a particular operation like multiplication.

42
Q

What is qbit?

A

Qbit is a basic unit of quantum information.
A qbit can be in 0 and 1 states at the same time.

43
Q

What are the disadvantages of long-distance communication?

A
  • The losses such as the distortion from the signal and the interferences from the environment.
  • No security.
44
Q

Where did digital systems make a revolution in?

A
  • Medical technologies.
  • Communication.
  • Manufacturing.
  • Entertainment.
  • Aviation and Aerospace.
  • Energy.
  • Machinery.
  • Transportation.
  • Defences.
  • Finances.
  • Money transfer.
45
Q

What is a single number called in binary code or system?

A

Bit.

46
Q

What values can a bit have and depending on what?

A

1 or 0. Depending on if the voltage is HIGH or LOW.

47
Q

Compare assembly and machine code.

A
  • Assembly language uses mnemonics while machinery code uses binary code.
  • Assembly language and machine code are machine-dependent.
  • Assembly language is not portable usually while machine code is not portable.
  • Examples of assembly language are ADD R2, 10. While examples of a machine code are 11001101.
48
Q

What is the relationship between assembly language and hardware?

A

Specific to hardware.

49
Q

What is the relationship between assembly languages and machine code?

A

Have a (mostly) one to one relationship with machine code.

50
Q

What is the scale of programming languages from high level to low level?

A

English - Python - Java - C - FORTRAN - assembly language - Machine code.

51
Q

Explain high-level languages.

A

Use English - like languages.
Machine independent.
Portable (need to be compiled for the target platforms).
Examples: C, C++, Java, C hashtag, Javascript, Python, HTML, MATLAB.

52
Q

What are the advantages of high-level languages?

A

Are very similar to ordinary languages, therefore, are far easier to use but still have strict syntax.

53
Q

What are programming languages?

A

Are formally constructed languages designed to communicate instructions to a machine.

54
Q

What are the benefits of using machine language?

A
  • It makes fast and efficient use of the computer.
  • It is directly understood by the computer.
55
Q

What has digital systems made revolution in?

A

-medical technologies
-communication
-manufacturing
-entertainment
aviation and aerospace
-energy
-machinery
-transportation
-defence
-finance
-money transfer

56
Q

what is a single number called in binary code or system?

A

bit

57
Q

what values can a bit have?

A

0 or 1

58
Q

what does the values of bit depend on?

A

depend if the voltage is HIGH or LOW

59
Q

Compare assembly language and machine code

A

assembly language uses mnemonics, is machine dependent, is not portable (usually) and looks like ADD R2,10
machine code uses binary code, is machine depended, is not portable and looks like 11001101

60
Q

what is the relationship between assembly language and hardware?

A

specific to hardware

61
Q

what is the relationship between assembly language and machine code?

A

have a (mostly) one to one relationship with machine code.

62
Q

what is the scale of programming languages from high level to low level?

A

high level: English, python, java, c , FORTRAN.
low level: assembly language, machine code

63
Q

explain high level languages

A

use English-like languages
machine dependent
portable (need to be compiled for the target platform)
examples: c, c++, java, c#, JavaScript, python, HTML, MATLAB

64
Q

what are the advantages of high level languages?

A

are very similar to ordinary languages therefore are far easier to use (but still have strict syntax)

65
Q

what are programming languages?

A

are formal constructed languages designed to communicate instructions to a machine

66
Q

what are the benefits of using machine language?

A

makes fast and efficient use of the computer
it is directly understood by the computer

67
Q

describe the following languages according to their form, translator, human-friendly and portability:
machine code
assembly
high-level languages

A

machine code has a binary format (101011), does not have a translator
,is not possible to be understood and is not portable
assembly has mnemonics form (ADD R2,10), has an assembler translator, can be memorised but is difficult to be understood and is not portable (usually)
high-level languages have an English like form ((y=x+5), return), the translator is a compiler or interpreter, is human friendly and is portable

68
Q

what is portability?

A

a program is said to be portable if it can be made to run on different kinds of computers

69
Q

what is a translator?

A

a program that converts source code into object code

70
Q

what are the three types of translators?

A

assemblers, compilers and interpreters.