Logic and Languages Flashcards

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

What is authentication?

A

When a person makes sure they are who they say they are

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

What are the types of validation?

A

Range Check, Type Check, Length Check, Presence Check, Format Check

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

What is a syntax error?

A

A syntax error is a error that breaks the rules of programming

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

What is a logic error?

A

A logic error is an error that occurs when a programs runs but doesn’t do its intended purpose

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

What are the types of testing?

A

Iterative and terminal testing

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

What type of data gets tested?

A

Valid, Invalid, Erroneous, Borderline

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

What is valid data?

A

Data that is between a specified range

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

What is invalid data?

A

Data that is not between a specified range

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

What is erroneous data?

A

Data that is not the correct type

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

What is borderline data?

A

Data that includes both ends of a range

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

What are advantages of high level languages?

A

Easier for humans to understand, Faster to programme, Easier to debug, Easier to compile

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

What are advantages of low level languages?

A

Quicker to compile, Take up less RAM, Run quicker

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

What are examples of high level languages?

A

Python, C++, Scratch, JavaScript

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

What are examples of low level languages?

A

Binary, Assembly code

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

What are the three types of translators?

A

Assemblers, Compilers, Interpreters

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

Which translators translate high level languages into machine code?

A

Compiler, Interpreter

17
Q

Which translator translates low level languages into machine code

A

Assembler

18
Q

How does a compiler translate?

A

Translates all the source code at once

19
Q

How does an interpreter translate?

A

Translates source code line by line

20
Q

What are features of an IDE?

A

Debugger, Editor, Run-time environment, Syntax highlighter, Translators, Error diagnostics, Autocomplete