Unit 1 Flashcards

1
Q

the process of preparing an instructional program for a device (such as a computer

A

Programming

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

set of instructions that helps the computer to perform
tasks

A

program

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

Learning a computer programming language requires
learning both its _________

A

vocabulary and syntax

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

Types of Errors

A

− Syntax errors
− Run-time errors
− Logical errors

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

used to write a program or set of instructions

A

Programming language

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

Programming language is categorized into three types

A
  • Machine level language
  • Assembly level language
  • High-level language
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Machine language

A

− lowest level of programming language
− handles binary data
− directly interacts with system
− not portable and non-readable to humans

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

Assembly language

A

− a middle-level language
− consists of a set of instructions in a specific format called
commands
− uses symbols to represent field of instructions
− very close to machine level language
− should have an assembler to translate assembly level program
to machine level program
− in human-readable format and takes lesser time to write a
program and debug it

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

Assembly Language

A

SUB AX, BX
MOV CX, AX
MOV DX, 0

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

High-level language

A

− uses format or language that is most familiar to users
− instructions in this language are called codes or scripts
− needs a compiler and interpreter to convert high-level
language program to machine level language
− examples: C++, Python, Java
− easy to write and is less time-consuming
− human-readable language

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

program that translates programming language instructions
one line at a time

A

Interpreter

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

translates entire program at one time

A

Compiler

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

a program by issuing a command to execute the
program statements

A

Run

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

a program by using sample data to determine
whether the program results are correct

A

Test

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

logic components in programs

A

Control structures

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

steps execute one after another, without interruption

A

Sequence structure

17
Q

used to perform different tasks based on a condition

A

Selection structure

18
Q

repeats actions while some condition remains unchanged

A

Loop structure

19
Q

− consist of a series of steps or procedures that take place one after the other
− based on the concept of calling procedure

A

Procedural programs

20
Q

or routines, subroutines or functions, consist of a series
of computational steps to be carried out

A

procedures

21
Q

examples of procedure

A
  • COBOL
  • BASIC
  • ALGOL
  • FORTRAN
  • Pascal
  • C
22
Q

process of creating, testing, and maintaining software
products and services that meet users needs

A

Software development

23
Q

− frameworks or models that guide the software development
process, including the activities and deliverables
− also defines the roles and responsibilities of the development team

A

Software development methodologies

24
Q

Phases of SDLC

A
  1. Project planning
  2. Gathering requirements and analysis
  3. Design
  4. Coding or implementation
  5. Testing
  6. Deployment
  7. Maintenance
25
Q

Some SDLC Models

A

❑Waterfall
❑Agile
❑Spiral

26
Q

graphical representation of the
steps in a process

A

Flowchart

27
Q

Used at the beginning and end of the algorithm
to show start and end of the program

A

Start/End

28
Q
  • Stands for decision statements in a program,
    where answer is usually Yes or No
  • A decision or branching point
  • Lines representing different decisions emerge
    from different points of the diamond
A

Decision

28
Q

*Connects two or more parts of a flowchart, which
are on the same page
* Indicates that the flow continues where a
matching symbol (containing the same letter) has
been placed

A

On-page
Connector

28
Q

Indicates processes like mathematical operations

A

Process

28
Q

Shows relationships between different shapes

A

Arrows

29
Q

Used for denoting program inputs and outputs

A

Input/Output

30
Q

Connects two parts of a flowchart which are
spread over different pages

A

Off-page
Connector

31
Q

a coding tool that aids in automating the editing, compiling,
testing, and other steps of an SDLC while making it simple for
developers to execute, write, and debug code

A

IDE - Integrated Development Environment

32
Q

These are some Python IDEs

A

PyCharm, Spyder, and Thonny