general Flashcards Preview

CPSC > general > Flashcards

Flashcards in general Deck (27)
Loading flashcards...
1
Q

cs

A

the study of computational agorithms

2
Q

algorithm

A

a sequence of instructions(steps) to solve a problem

3
Q

6 fundamental functions a computer can preform

A
  1. get input
  2. produce output
  3. arithmetic
  4. save data
  5. conditional execution
  6. repeat processes
4
Q

difference between a host OS and a guest OS

A

a host OS is the main opperating system on the computer

a guest os is an operating system that runs on a virtual machine within the host os

5
Q

open source

A

the code is free knowledge

6
Q

GUI

A

graphical user interface

7
Q

CWD

A

current working directory

8
Q

path

A

the location in the file system

9
Q

unix based

A

mac and lynux. has a root directory

10
Q

absolute path

A

path with the the root as the start

11
Q

relative path

A

a path based on the CWD

12
Q

command to open up file explorer

A

ctrl alt t

13
Q

programming languages

A

languages used by humans to communicate with machines

14
Q

low lever PL

A

closer to machine code than english

15
Q

high level PL

A

closer to human language than machine code

16
Q

variable

A

a named location in memory stores values in certain type

17
Q

data type

A

set of values and opperations

18
Q

int

A

interger(whole number)

19
Q

float

A

real number single precision

20
Q

double

A

like a float but double precision

21
Q

char

A

stores a character

22
Q

ascII

A

intergers A=65

23
Q

string

A

a string of characters must be manually input

24
Q

bool

A

true or false values

25
Q

syntax error

A

compiler error

code doesn’t adhere to c++ file format

26
Q

runtime error

A

compiles and runs,then crashes devision by 0

27
Q

logic error

A

compiles and runs but incorrect results