Intro To Programming Flashcards

(43 cards)

1
Q

What is a Computer Program?

A

A sequential set of instructions, known a s codes, written or “programmed” in a computer language to let the computer perform a specific computation task.

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

What is a Computer Language

A

a set of grammatical rules that commands a computer or a device to
behave in a specific way. It also refers to programming language.

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

what is PROGRAMMING

A

It is the art and science of instructing computers to perform tasks using a specific programming language.

creating a set of instructions for a computer to follow a computer program.

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

Programming refers to?

A

creating a set of instructions for computers to follow a computer program.

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

The term “paradigm” is synonymous with “___”.

A

Pattern

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

These refer to the different approaches to structuring
and organizing code.

A

Programming Paradigms

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

focuses on organizing code into reusable
procedures or functions, emphasizing the sequence of steps to execute a program. Examples include
BASIC, C and C++, Pascal, and Java.

A

Procedural Programming

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

treats computation as evaluating mathematical functions, emphasizing
consistency, and avoiding side effects.

A

Functional Programming

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

revolves around the concepts of objects that encapsulate
data and behavior that promotes modularity, code reusability, and scalability. Examples include
Python, VB.NET, and C#.

A

Object-oriented Programming(OOP)

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

a programming language closer to machine code and hardware in terms of of syntax.

It provides a control over the computers hardware and resources.

A

Low level - language

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

a programming language designed to be easy for humans to read, write, and understand, allowing programmers to write computer programs and interact with a
computer system

A

High-level language

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

uses specific instructions to control a computer’s hardware.

A

Assembly Language

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

all instructions are written as binary numbers (1 and 0).

A

Machine Language

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

a set of rules defining the various combinations and arrangments of symbols or characters to create a valid statement in a language.

A

Syntax

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

it is a critique instructions given to a computer to perform a task of a function such as “print” to display text on the screen.

A

Command

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

it is a collection of useful resources, such as objects and functions, that can be used individually and must be configured to work together.

A

Library

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

it is a software application for formating the code, checking the syntax, running and testing the code.

A

Integrated Development Environment (IDE)

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

it is a program that directly executes instructions in a high-level level language without converting them into a machine language

19
Q

it is a program that convert instructions into a low-level assembly code

20
Q

it is a program that converts a high level-language into a machine-readable code that a computer can execute

21
Q

what is Algorithm?

A

is a set of steps that generates a finite sequence of simple computational operations leading to the solution of a given problem.

22
Q

The complete steps of the problem solving process in programming include :

A

•Problem Analysis
•Algorithm design
•Coding
•Execution

23
Q

evaluating and outlining the problem and its solution requirements

A

Problem Analysis

24
Q

designing an algorithm to solve problems.

A

Algorithm Design

25
implementing the algorithm in a programming language.
Coding
26
verifying whether the algorithm works or not.
Execution
27
The two (2) commonly used tools in representing algorithm
Through pseudo code or flow chart
28
It is a technique used to describe distinct steps of an algorithm that is much easier to understand for anyone with basic programming knowledge.
Pseudocode
29
It is a diagrammatic representation of the steps of an algorithm. It is a pictorial representation that can be used as a substitute for an algorithm, as a textual description of an algorithm may not be understood easily.
Flowchart
30
Flowcharts are classified into two (2) categories:
•Program flowchart •System flowchart
31
What is Program flowcharts?
Illustrates the logicalsteps in a software program or programming task to understand a process, workflow, or algoritm.
32
it shows how the parts of a system work together displaying the data flow and how decisions can affect the events surrounding it.
System flowcharts
33
Shows the start and end of a set of computer-related processes
Terminal
34
Shows any input/output operation
Input/Output
35
Shows any processing performed by a computer system
Computer Processing
36
Indicates any process not specially defined in the flowchart
Predefined processing
37
Used for writing any explanatory statement required to clarify something
Comment
38
Used for connecting the symbols
Flowline
39
Used when input comes from a document, and output goes to a document
Document Input/Output
40
Shows any point in the process wherein a decision must be made to determine further action
Decision
41
Connects parts of a flowchart continued on the same pag
On-page Connector
42
Connects parts of a flowchart continued to separate pages
Off-page Connector
43
Five (5) Rules for Creating Program Flowcharts
• Only the standard symbols should be used in program flowcharts. • The program logic should only show the flow from top to bottom and/or left to right. • Each symbol should contain only one entry point and one exit point, except the decision symbol. It is known as the single rule. • The operations shown within a symbol should be expressed independently of any programming language. • All decision branches should be well-labeled.