Scientific Programming/C Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

A computer system consists of what three components?

A

Hardware, software and firmware

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

What is a general purpose computer?

A

It is a computer that can run many different languages and solve many problems.

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

What is a special purpose computer?

A

It is a computer that uses a single programming languae designed for a specific type of application.

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

What are types of general purpose computers?

A

Mainfram, super, personal and laptop

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

What is a mainframe computer used for?

A

Large mainframe computers are used for critical applications such as census, industry and statistics, like IBM

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

What is a super computer used for?

A

They are used for complex scientific computations, and are super fast

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

What is a server?

A

It is a large computer system that stores large variaties of programs and data bases

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

What is a workstation?

A

Workstations are capable of performing large computations

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

What is the motherboard?

A

Each component is attatched to this and it allows all the compenents to communicate with each other.

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

What is the video card?

A

It provides image to the screen

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

What is the hard drive?

A

It stores data even when the machine is off

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

What is the RAM?

A

RAM contains info while the computer is on but it is lost when turned off

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

What is the CPU?

A

It provides the calculations and manipulation of data sent from the user

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

What is turnaround?

A

Turnaround is the amount of time elapsing between request to the computer and availability of output

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

What is throughput?

A

It is measured by the number of jobs that are completed in a given time period.

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

What is modularization?

A

It is the process of breaking down a complex problem into solvable,manageable and functional units

17
Q

What is the first part of modular design?

A

To break the problem into modules or subproblems.

18
Q

What are two module types?

A

Functional: A module with a specific function or task to perform

Spatial: a module that is repeated in several places.

19
Q

What is a structure chart?

A

It is a design tool that represents both modules of an algorithm and their relationship to each other.

20
Q

What is an algorithm?

A

It is a procedure consisting of a finite number of precisely defined steps for solving a problem.

21
Q

What is a program?

A

It is a sequence of executable unambiguous instructions written in a computer language

22
Q

What is pseudocode?

A

It is a semi-formal description of the steps to be carried out by a computer.

23
Q

What is source code?

A

A text listing commands to be compiled and assembled into an executable program

24
Q

What is documentation?

A

It is comments that document the code the whole programming process as an aid to the programmer

25
Q

What is the operating system?

A

Acts like a middleman between user and hardware, examples include iOS, Windows, Linux

26
Q

What is a high level programming language?

A

It is a language that is more similar to human language and is more portable in that it can be translated from operating system to operating system. examples are Python, C, Javascript, C++

27
Q

What is a low-level language?

A

It is more like machine language, binary code. Some examples are binary, machine, assembly.

28
Q

How does every program in C begin?

A

int main(){

~~~~~~~

}