csci 271 part 2 Flashcards

(22 cards)

0
Q

Windows, unix, Linux, and Mac OS X.

A

Operating systems

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

C++ programming language is a

A

High level language

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

Standard c++

A

ANSI/ISO c++ agreed upon version that is portable to any platform and any development environment.

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

What is ANSI and ISO

A

ANSI- American national standard institute

ISO - international standardization organization

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

What is an IDE

A

A software application that provides comprehensive facilities to computer programmers for software development

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

An IDE consist of

A

Code editor

A compiler

A debugger

A graphic user interface builder

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

What is a compiler

A

(Library with useful function) is translator programs that convert high level language programs into machine language.

Function- a block of code that performs one or more tasks, such as adding two numbers or printing to the screen.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
// Ernst Hyacinthe, 09/12/04 
// text-printing program

include <iostream></iostream>

Int main ()

{

Std::cout«“hello world”\n;

Return 0;

}

A

This is the compiler screen with the c++ programming

Line one and two are the comment screen
Comments does not effect the operation

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

What is Linux

A

Open source source software development and free operating system. It can be freely distributed, downloaded freely, distributed through magazines, books etc.

User can be everyone from home users to developers.

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

What is an unix

A

Operating system used in Internet servers, workstation & PCs. Backbone of the majority of financial infrastructure. Developed by AT&T at bells labs and Dennis Ritchie. Written in C language.

Manufactured by
IBM, HP, AND MAC OS.

FILE SYSTEM SUPPORT
JFS, GPFS, HFS, HFS+, UFS,XFS,ZFS FORMAT

Disadvantages are
Users have to wait for awhile to get the proper bug fixing patch.

Processors are

X86/x64, 
Sparc,
Itanium,
Pa-RISC,
PowerPC
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Definition: Computer? computer-program?

A

A computer is a device capable of performing computations and making logical decisions at speeds millions (even billions) of times faster than human beings can.

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

Computer Programs

A

Computers process data under the control of sets of instructions called computer programs.

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

What are the Computer Organization Six key logical units.

A

Six key logical units are
- Input unit
- Output unit
- Memory unit (Memory)
- Arithmetic and logic unit (ALU) - Central processing unit (CPU) - Secondary storage unit

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

Input Unit is

A

The “receiving” section which obtains information (data and computer programs) from input devices and places it at the disposal of the other units so that it can be processed.

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

Comments. “//………………. “ -

A

Do not affect the operation of the program; Ignored by the compiler

Enhance the readability of the source code

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

Line 3. “ # include <iostream> " —— Preprocessor directive.</iostream>

A

Preprocessor directive.

16
Q

main function. • Every C++ program has a main() function. • The function main() is called

A

by operating system automatically when program starts. • The function main() always return int, e.g. 0 (signal for success).

17
Q

Every C++ statement must be ended with a

18
Q

main function must be ended with

19
Q

Declaration statement

A

Tells the compiler what variable you going to use.
one you declare a variable it tells the compilers what variable you going to use

any variable has to be declare before being you use.

20
Q

executable statement

A

performs actions and tasks

21
Q

A variable is a

A

location in your computer’s memory in which you can store a value and from which you can retrieve that value.