Basic Operations and Programming Errors Flashcards

1
Q

What are the 2 components of a computer system?

A

Hardware and software.

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

It contains the motherboard, central processing unit (CPU), random access memory (RAM), and storage drives.

A

System unit.

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

What are the 3 basics operations of a computer?

A
  1. Accepting input
  2. Processing input/data
  3. Producing an output/result
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

If a device accepts input and produces output then it is a computer.

A

False. It should be able to accept input, process data, and produce an output.

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

Hardwares are the components of a computer not visible to the naked eye.

A

False. Software.

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

What are the 5 components of a hardware?

A
  1. Input
  2. Process
  3. Output
  4. Storage
  5. Communication devices
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Give an example of an input device.

A

Keyboard, camera, mouse, microphone.

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

Give an example of a processing device.

A

CPU, RAM, GPU.

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

Give an example of an output device.

A

Monitor, speaker, printer, projector.

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

Give an example of a storage device.

A

Solid-state drive (SSD), harddrive, USB, flash drive, memory card, DVD.

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

Give an example of a communication device.

A

Internet, Bluetooth, modem.

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

What are the 2 categories of software?

A

Application and system software/operating system.

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

Give an example of an application software.

A

Zoom, Chrome, Spotify.

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

Give an example of a system software.

A

Linux, Ubuntu, Android.

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

A/an _ gives instructions to hardware and makes application softwares work.

A

operating system (OS)

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

What is programming?

A

The process of writing and creating instructions for a computer.

17
Q

This computer language consists of 1’s and 0’s.

A

Machine language.

This is the only and first language computers can understand.

18
Q

This computer language uses symbols, letters, and mnemonic codes.

A

Assembly language.

19
Q

The Assembly language uses an _ to translate code into machine language.

A

assembler

20
Q

This computer language is more advanced than the Assembly language.

A

High level languages.

21
Q

High level languages like Java needs a _ while Python needs an _ in order to translate code into machine language.

A

compiler, interpreter

22
Q

What are the 2 programming errors?

A

Syntax and logic errors.

23
Q

What is syntax?

A

The rules of writting in a programming language.

24
Q

In a syntax error, the program will run but will be unable to produce an output.

A

False. A program will not run in a syntax error.

25
Q

When a code is executed, the syntax is correct, but the output is incorrect, what type of programming error occurs?

A

Logic error.