CS exam 1st quartile Flashcards

1
Q

Computer Science

A

Science that describes how a computer functions

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

Actual first computer

A

Abacus

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

First mention of computer (women)

A

Richard Braithwaite

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

Computer as a device (Step Reckoner)

A

Gottfried Leibniz

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

Calculations for shooting (in big wars)

A

Range Tables

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

made the design of Analytical Engine (first general purpose computer)

A

Charles Babbage

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

she designed the first concept programming language for Charles’s computer

A

Ada Lovelace

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

invented the first electromechanical computer (it used cards) and created company for it: Tabulating Machine Company (later IBM)

A

Herman Hollerith

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

first programmer (as we know the word ‘programming’ nowadays), used his machine to break the Enigma code

A

Alan Turing

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

first computer that could be bought from store (Unix, programmable with C)

A

PDP-8

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

Little Man Computer (algorythm)

A

Fetch - Decode - Execute - Repeat

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

CPU

A

Central Processing Unit

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

clock rate (GHz)

A

The amount of times the transistors on a CPU core can switch on/off

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

CPU core

A

independent processing unit on CPU

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

ALU

A

Arithmetic Logic Unit

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

High level language

A

High level source -> Compiler -> Machine code

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

Compiler

A

A piece of software that translates a programming language into 1s and 0s that a CPU can execute

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

Programming language (e.g. C, C++, Fortran)

A

runtime does not see source code

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

Scripting language (e.g. JavaScript, Python LUA)

A

runtime sees source code

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

JAVA code execution

A

programmer compiles Java to bytecode -> JVM (Java Virtual Machine) compiles it to machine code -> it is executed by the CPU

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

Boolean

A

Transistor that’s on or off (True - 1 / False - 0)

22
Q

bit

A

1 transistor

23
Q

byte

A

8 bits

24
Q

nibble

A

4 bits

25
Q

integer overflow

A

occurs when an arithmetic operation attempts to create a numeric value that is outside of the range that can be represented with a given number of digits – either higher than the maximum or lower than the minimum representable value

26
Q

signed integer

A

32-bit datum that encodes an integer in the range [-2147483648 to 2147483647]

27
Q

unsigned integer

A

32-bit datum that encodes a nonnegative integer in the range [0 to 4294967295]

28
Q

Functions of an Operating System

A

start the computer, provide a user interface, manage programs, manage memory, schedule jobs and configure devices, establish an internet connection, monitor performance, provide file management and other utilities, control a network, administer security

29
Q

pwd

A

print working directory

30
Q

cd

A

change directory

31
Q

ls

A

list current directory

32
Q

touch

A

command for creating file

33
Q

mkdir

A

make directory

34
Q

mv

A

move

35
Q

cp

A

copy

36
Q

rm

A

remove (files)

37
Q

rm -r

A

To remove non-empty directories and all the files within them

38
Q

sudo

A

stands for SuperUser DO and is used to access restricted files and operations

39
Q

sudo apt install

A

install a package by its name

40
Q

cat

A

short for “concatenate“, allows us to create single or multiple files, view contain of file, concatenate files and redirect output in terminal or files

41
Q

less

A

a command that displays file contents or command output one page at a time in your terminal

42
Q

programmer

A

individual who writes code

43
Q

software engineer

A

collaborates with other people to solve hard problems with software, if at all possible, the software makes the world a bit better place to live in

44
Q

parameters

A

input for application

45
Q

sessions

A

server creates a session, which is a file containing 1 thing, a unique identifier

46
Q

cookies

A

tiny files on a client, contain key-value pairs, i.e. “sessionId=12345678”

47
Q

pair programming

A

agile software development technique in which two programmers work together at one workstation. One, the driver, writes code while the other, the observer or navigator, reviews each line of code as it is typed in. The two programmers switch roles frequently.

48
Q

SCRUM

A

agile framework for developing, delivering, and sustaining complex products, with an initial emphasis on software development, although it has been used in other fields including research, sales, marketing and advanced technologies. It is designed for teams of ten or fewer members, who break their work into goals that can be completed within timeboxed iterations, called sprints, no longer than one month and most commonly two weeks. The Scrum Team track progress in 15-minute time-boxed daily meetings, called daily scrums. At the end of the sprint, the team holds sprint review, to demonstrate the work done, and sprint retrospective to continuously improve.

49
Q

Semantic versioning

A
  1. MAJOR version when you make incompatible API changes,
  2. MINOR version when you add functionality in a backwards compatible manner, and
  3. PATCH version when you make backwards compatible bug fixes.
50
Q

Waterfall Project Management

A

a breakdown of project activities into linear sequential phases, where each phase depends on the deliverables of the previous one and corresponds to a specialization of tasks.