Introduction to the Course Flashcards

1
Q

How do computers process data?

A

under computer programs by computer programmers

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

What does the data items processed by computers form?

A

Data Hierarchy

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

The smallest data item in a computer

A

Bits

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

This can assume the value 0 or the value 1

A

Bits

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

Bits is short for

A

Binary Digit

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

A digit that can assume one of two values

A

Binary Digit

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

Functions performed by computers involve only the simplest manipulations of 0s and 1s

A

Bits

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

Tedious to work with data in the low-level form of bits

A

Character

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

Composed of characters or bytes (that
conveys meaning)

A

Field

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

Composed of related fields

A

Records

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

Composed of related records

A

File

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

In some operating systems, a file is viewed

A

sequency of bytes

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

Collection of data organized in tables

A

Database

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

What does the table include?

A

Records and Fields

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

Types of Programming Languages

A

Machine Languages, Assembly Languages, and High Level Languages

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

Language only computers can understand

A

Machine Languages

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

Generally consist of strings of numbers (ultimately reduced to 1s and 0s) that instruct computers to perform operations

A

Machine Languages

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

Machine Language is _______

A

Machine Dependent

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

a particular machine language can
only be used on only one type of computer

A

Machine Dependent

20
Q

Disadvantage of Machine Language

A

Programming machine language was simply too slow and tedious

21
Q

Uses English-like abbreviations to represent elementary operations (instead of using string of numbers that computers can only understand)

A

Assembly Languages and Assemblers

22
Q

Translator Programs

A

Assemblers

23
Q

Why do we need assemblers (or translator
programs)?

A

Because although such code is clearer to humans, it’s incomprehensible to computers until translated to machine language.

24
Q

Disadvantage of Assembly Languages

A

Programmers still had to use numerous instructions to accomplish even simple tasks.

25
Developed to speed up the programming process
High-Level Languages and Compilers
26
Single statements could be written to accomplish substantial tasks
High-Level Languages and Compilers
27
Allow you to write instructions that look almost like everyday English and contain commonly used mathematical notations
Assembly Languages and Assemblers
28
one of the most widely used high level programming languages
C
29
Very flexible and powerful programming language originally designed in the early 1970s
C
30
When was C originally designed?
early 1970s
31
____ was written in C language
UNIX OS
32
C is a ____ programming language
compiled
33
a program that converts the c into a machine code instructions which do the job
compiler
34
What is C widely used to
develop systems that demand performance
35
Examples of systems
operating systems, embedded systems, real-time systems, and communication systems
36
Advantages of C
Efficiency and Standardization
37
Disadvantage of C in terms of coding
can write very tense code but it has side effect of making them hard to understand
38
Applications written in C
Linux, Windows, Android
39
What is needed for embedded systems
Embedded systems need to run as fast as possible and conserve memory
40
When programming in C, we’ll use the following building blocks:
* C standard library functions * Functions you create yourself * Functions other people have created and made available to you
41
Machine language code can be called
object code
42
This occurs when the compiler cannot recognize a statement because it violates the rule of the language
syntax error
43
Type of error when a compiler cannot recognize a statement because it violates the rule of the language
compile errors, or compile-time errors
44
A linker links the object code with the code for the missing functions to produce an
executable image
45
It takes the executable image from disk and transfers it to memory.
Loader
46
To load and execute a program, type and enter
./welcome
47
Linking command
gcc –o welcome welcome.c