LESSON 1 Flashcards

1
Q

5 NU’s Core Values

A

Integrity​

Compassion​

Innovation​

Resilience​

Patriotism​

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

Is an electronic device designed to manipulate data for useful information to be generated.

A

COMPUTER

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

CHARACTERISTICS OF THE COMPUTER

A

It is a machine - can only do things for which it was designed.​

It is automatic - runs continuously once started

It is electronic - runs on electrical energy through its electronic components​

It can manipulate data - following specific instructions, it can perform arithmetic functions, and can compare data.​

It has memory - The ability to read instructions and can store these.​

It has logic functions -can produce results after instructions were fed into it.​

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

The actual machinery, the tangible parts of a computer system. (example: wires, transistors and circuits). Refers to the physical equipment or components of an electronic data processing system.​

A

HARDWARE

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

Programs or data, and are the intangible parts of a computer system. ​

A

SOFTWARE

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

runs on electrical energy through its electronic components​

A

It is electronic

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

CLASSIFICATION OF SOFTWARE​

A

APPLICATION SOFTWARE
SYSTEM SOFTWARE

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

comprises all the programs you apply to a task — word-processing programs, spreadsheets, payroll and inventory programs, and even games.​

A

APPLICATION SOFTWARE

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

comprises the programs that you use to manage your computer, including operating systems such as Windows, Linux, or UNIX for larger computers and Google Android and Apple iOS for smartphones​

A

SYSTEM SOFTWARE

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

3 MAJOR OPERATIONS IN MOST PROGRAMS​

A

INPUT
PROCESS
OUTPUT

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

Usually keyboard and mouse. The _________ device is the conduit through which data and instructions enter a computer.​

A

INPUT

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

Processing data items may involve organizing or sorting them, checking them for accuracy, or performing calculations with them. The hardware component that performs these types of tasks is the central processing unit, or CPU. ​

A

PROCESS

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

After data items have been processed, the resulting information usually is sent to a printer, monitor, or some other output device so people can view, interpret, and use the results.​

A

OUTPUT

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

is a set of instruction that the computer follows.​

A

Program

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

is a standardized communication technique for expressing instructions to a computer. Example: Visual Basic, C++, C#, Java, Assembly Language​

A

Programming Language (PL)

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

It does not require addressing hardware constraints when developing a program. However, every single program written in a high-level language must be interpreted into machine language before being executed by the computer. ___________ require the use of a compiler or an interpreter for their translation into the machine code.

A

HIGH LEVEL PL

17
Q

a programming language that provides little or no abstraction of programming concepts and is very close to writing actual machine instructions.​

Ex: Assembly Language, Machine Code​

A

LOW LEVEL PL

18
Q

developed by Dennis Ritchie at AT&T Bell Labs between 1969-1970.​

A

C

19
Q

C is developed by __________ at AT&T Bell Labs between _____ - ______

A

Dennis Ritchie ; 1969-70

20
Q

developed by Bjarne Stroustrup at AT&T Bell Labs in 1983.

A

C++

21
Q

C++ is developed by _________ at AT&T Bell Labs in ____.

A

Bjarne Stroustrup ; 1983

22
Q

STEPS FOR C++ PROGRAM DEVT AND EXECUTION​

A

EDITING
COMPILING
LINKING LIBRARY FILES
LOADING
EXECUTION

23
Q

refers to the typing or writing the program in any text editor.

A

EDITING

24
Q

But we want all the things in one place like writing the program, compiling, and executing it. This is achieved with the help of software that is known as _________. It integrated all the tasks that are required to run a program.​

A

IDE (INTEGRATED DEVELOPMENT ENVIRONMENT)

25
Q

converts the high-level code into machine-level language code and a new executable file with the name first.exe is generated and get stored in the hard disk.

A

Compiler

26
Q

Every language has some built-in objects and functions that can be reused in any program. The built-in objects and functions are grouped inside libraries that can be included in programs as ________. These libraries and header files are linked with the code during compilation where the library code is also converted to an executable file along with the entire program.

A

Header files

27
Q

To execute the program code, the code must be brought to the main memory from the secondary memory.​

A

Loading

28
Q

As soon as the program gets loaded in the main memory in different sections as given below, the program execution starts. The execution of the program starts from the first line of the main function.​

A

Execution​

29
Q

MAIN MEMORY MANAGEMENT​:

A

Code Section
Stack section of the code
Heap

30
Q

The entire machine-level code is copied to the code section of the main memory. All the arrangements that are called relocations are done here and it is done by the operating system.​

A

Code Section

31
Q

All the variables (that are used for storing the data values) are stored in the _______.​

A

Stack section of the code

32
Q

It stores the dynamically allocated variables, the variable that is allocated during the run time of the program​

A

Heap

33
Q

contain a set of predefined standard library functions.

A

Header files

34
Q

A declarative region that provides a scope to the identifiers (the names of types, functions, variables, etc) inside it.

A

Namespace

35
Q

is a special function in all C++ programs; it is the function called when the program is run. The execution of all C++ programs begins with the ___________

A

Main function (Main Method)

36
Q

is enclosed between curly braces. The program statements are written within the brackets.

A

Body of the function

37
Q

The body of the function is enclosed between

A

Curly braces

38
Q

Each statement must end by a ________, without which an error message in generated.​

A

semicolon

39
Q

means success and returning a non-zero number means failure.

A

Return 0 (zero)