Chapter 1 - Glossary Flashcards

1
Q

Problem solving

A

The process of formulating a problem , finding a solution, and expressing it

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

High-level language

A

A high-level language is any programming language that enables the development of a program in a much more user-friendly programming context and is generally independent of the computer’s hardware architecture

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

Low-level language

A

A programming language that is designed to be easy for a computer to run; also
called “machine language” or “assembly language”

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

Portability

A

A property of a program that can run on more than one kind of computer Maria download similarly

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

Interpreter

A

an interpreter is a computer program that directly executes instructions written in a programming or scripting language,

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

Program

A

A set of instructions that specifies a computation

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

Value

A

One of the basic units data like a number or stricter program manipulates

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

Type

A

A category of values. The types we have seen so far are integers (type int),
floating-point numbers (type float), and strings (type str).

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

Integer

A

A type that represents whole numbers

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

String

A

A type that represents sequence of characters

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

Natural language

A

Any one of the languages that people speak that evolved naturally

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

Formal languages any one of the languages that people have designed for specific purposes such as representing mathematical ideas or computer programs all programming languages are formal languages

A

Any one of the languages that people have designed for specific purposes such as representing mathematical ideas or computer programs all programming languages are formal languages

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

token

A

One of the basic elements of the syntactical structure of a program analogus to a word in natural language

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

Parse

A

To examine a program and analyze the syntactic structure

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

Bug

A

Error in program

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

debugging

A

The process of finding and correcting bugs.

17
Q

You can use a minus sign to make a negative number like -2. What happens if
you put a plus sign before a number? What about 2++2?

A

it prints sum of x & y
x ,y = 4,9
print(x++y)
13

18
Q

In math notation, leading zeros are okay, as in 02. What happens if you try this in
Python?

A

Interpreter Gives Syntax Error