week 1 editors, compilers, etc

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/22

encourage image

There's no tags or description

Looks like no tags are added yet.

23 Terms

1
New cards

what is a program?

a program is a sequence of instructions that dictate the flow of electrical impulses within a computer system

2
New cards

what is an interpreter?

an interpreter is a platform that translates high-level language code into machine code when you run a series of statements

3
New cards

what is source code?

high level language code

4
New cards

what is target code?

machine language code

5
New cards

what is an editor?

an editor is a platform where one can enter the program code and save to files

6
New cards

what is a compiler?

a compiler translates the source code to target code

  • e.g., C compiled and converted to C++ code


7
New cards

what is the difference between a compiler and an interpreter?

a compiler translates the whole program at once, while an interpreter translates and runs the code line by line

8
New cards

what does ide stand for?

integrated development environments

  • examples: idle, thonny, etc


9
New cards

what is included in an ide?

the editor, debugger and other programming aids (in one comprehensive program)

(think ade in an ide)

10
New cards

what is a profiler?

a profiler is used to evaluate a program’s performance and finds parts of a program that can be improved to make the program run faster

11
New cards

what is a debugger?

a debugger allows a programmer to see which source code line is currently being executed

  • does not exactly tell you what’s wrong with the code


12
New cards

syntax definition

syntax refers to the way pieces of the language are arranged to make well-formed sentences

13
New cards

what can we use programming to do?

web development, game development, machine learning

14
New cards

what is coverage?

coverage is ensuring all code in a program is actually being used somewhere during testing

15
New cards

what is machine learning?

study of computer algorithms that improve automatically through training and experience

16
New cards

what does the below code do?

type(x)

tells you what type of expression (boolean, string, etc) x is

17
New cards

what does the below codes do?

str(‘4’)

int(‘5’)

assigns ‘4’ to a string value and 5 to an integer value

18
New cards

what is an assignment statement?

an assignment statement associates a value with a variable

19
New cards

what is the equal sign’s significance?

it is the assignment operator and is what creates an assignment statement

20
New cards

if we want to make x = 100 and y = 50, how can you print it in one line?

x, y, =100, =50

print(x, y)

21
New cards

what if you didn’t mind a float or an int?

eval()

22
New cards
23
New cards