deck 2 Flashcards

1
Q

Syntax

A

Syntax is the rules for how a sentence/instruction is
constructed

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

Semantics

A

Semantics refers to the actual meaning of the statements, or it is the effects the instructions have.

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

Scripts

A

Scripts are programs with
a short development cycle that can be
created and deployed rapidly.

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

Programming code

A

Programming code is a set of written computer instructions, guided by rules, using a computer programming language.

The instructions tell computers and machines how to perform an action.

Programming code may also be referred to as source code or scripts.

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

Programming languages

A

Programming languages are similar to human spoken languages in that they both use syntax and semantics.

Programming languages are used to write computer programs.

Some common programming languages include Python, Java, C, C++, C#, and R.

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

Syntax

A

Syntax is a set of rules for how statements are constructed in both human and computer languages. Programming syntax includes rules for the order of elements in programming instructions, as well as the use of special characters and their placements in statements. This concept is similar to the syntax rules for grammar and punctuation in human language.

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

Semantics

A

Semantics refers to the intended meaning or effect of statements, or collections of words, in both human and computer languages. Semantic errors are also referred to as logical errors.

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

Computer program

A

A computer program is a step-by-step list of instructions that a computer follows to reach an intended goal. It is important to be clear and precise about the actions a computer program is supposed to perform because computers will do exactly what they are instructed to do. Computer programs can be long, complex, and accomplish a variety of tasks. They are often developed by computer programmers and software engineers, but anyone can learn to create them. Computer programs may involve a structured development cycle. They can be written in a wide variety of programming languages, such as Python, Java, C++, R, and more. The completed format of a program is often a single executable file.

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

Scripts

A

Scripts are usually shorter and less complex than computer programs. Scripts are often used to automate specific tasks. However, they can be used for complex tasks if needed. Scripts are often written by IT professionals, but anyone can learn to write scripts. Scripts have a shorter, less structured development cycle as compared to the development of complex computer programs and software. Scripts can be written in a variety of programming languages, like Python, Javascript, Ruby, Bash, and more. Some scripting languages are interpreted languages and are only compatible with certain platforms.

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

Automation

A

Automation is used to replace a repetitive manual step with one that happens automatically.

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

Output

A

Output is the end result of a task performed by a function or computer program. Output can include a single value, a report, entries into a database, and more.

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

Input

A

Input is information that is provided to a program by the end user. Input can be text, voice, images, biometrics, and more.

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

Functions

A

A function is a reusable block of code that performs a specific task.

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

Variables

A

Variables are used to temporarily store changeable values in programming code.

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

interpreter

A

interpreter is
the program that reads and executes code

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

Values

A

Values: True, False, None
Conditions: if, elif, else
Logical operators: and, or, not
Loops: for, in, while, break, continue
Functions: def, return

17
Q

the square root of x

A

x**(1/2)

18
Q

x // y

A

Floor division operator returns the integer part of the integer division of x by y

19
Q

Integer

A

Integer represents whole numbers without a fraction

20
Q
A
21
Q
A