Chapter 3 Flashcards

Overview of C

1
Q

Computer Language

A

Are used to code or program a system or software in the computer

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

Machines Language

A

Are made of stream 0s and 1s, made it as a primary language that understood by the computer.

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

Assembly Language

A

Is a form of symbolic language that must be translated to machine language for computer to understand the languages or instructions

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

High-level Language (HLL)

A

An informal language that are convenient and understandable for human to write a program BUT must be compile before executing the program

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

Compilation

A

A translation process that convert other languages to Machine language, so the computer can understand and perform instructions smoothly.

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

Three parts of C System

A

C Environment,
C Language,
C Standard Library

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

C Environment

A

Describes about method to write and implement C program

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

C Language

A

Emphasizes on rules of syntax in C language

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

C Standard Library

A

Provides collection of existing functions to perform operations such as input/output and mathematical calculations.

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

C Elements

A
Directive Processor,
Function,
Reserved Word,
Standard Identifiers,
User-defined Identifiers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

include

A

Define standard identifiers from standard library

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

define

A

define constant macro; segment of code which is

replaced by the value of macro

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

Function

A

A series of statements grouped together and given a name, perform specific task

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

Declaration

A

Part of a program that tells a computer the names of memory cells in a program

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

Executable statement

A

Line of instruction that are converted into machine language for execution

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

Reserved word

A

Special meaning, cannot be used as identifiers name

Example:
auto, break, case, char, const, continue,
default, do, double, else

17
Q

Standard Identifiers

A

Names of operations defined in the standard
library.

Example:
scanf, printf is the name of an I/O operation

18
Q

User-defines Identifiers

A

Name of memory cells that will hold data and
program results and to name operations that
we define.

Example:
num1, number_1, numberOne

19
Q

Variable

A

A name associated with a memory cell whose value can change.

Example:
int sum, num, index ;
string first_name, lastName;

20
Q

Data Types

A

A set of values and operations that can be performed on those values.

Example:
int, double, char