Worksheetsintroduction to computer
Total questions: 24
Worksheet time: 24mins
is a sequence of instructions written to perform a
specified task for a computer. A computer requires programs
to function, typically executing the program's instructions in a
central processor. The program has an executable form
that the computer can use directly to execute the instructions.
computer program (also a software program, or just
a program)
SOURCE CODE
Computer programming
ide
is text written in a computer programming
language. Such a language is specially designed to
facilitate the work of computer programmers, who specify
the actions to be performed by a computer mostly by
writing source code, which can then be automatically
translated to binary machine code that the computer can
directly read and execute.
code
program
Source code
language
self-contained set of instructions used to operate a computer
to produce a specific result
Programming
coding
Program Also called software
Source code
(often shortened to programming
or coding) is the process of designing, writing, testing,
debugging/ troubleshooting, and maintaining the source
code of computer programs. This source code is written in a
programming language. The purpose of programming is to
create a program that exhibits a certain desired behavior.
The process of writing source code often requires expertise
in many different subjects, including knowledge of the
application domain, specialized algorithms, and formal logic.
Computer programming
executable
source code
machine language
the process of writing a program, or software
code
program
software
Programming
also called executables, consist of
binary instructions
number
Instruction
Machine language programs
opcode
two parts of instruction
(a)
the operation to be performed; also called an opcode
Instruction
Address
Machine language programs
code
memory address of the data to be used
machine language
Address
Assembly Language
Instruction
programming language with symbolic names
for opcodes, and decimals or labels for memory addresses
opcode
Machine language
Assembly Language
binary
Assembly language programs must be translated into machine
instructions, using an
assembler
chatgpt
code
ide
languages that use instructions tied directly to
one type of computer
High-level languages
Low-level languages
html
mid language
instructions resemble written languages, such
as English,and can be run on a variety of computer types Examples:
Visual Basic, C, C++, Java
low language
mid-level languages:
low-level languages:
High-level languages
written in a high- or low-level language
source code
program
code
c++
each statement is translated individually and
executed immediately after translation
object-oriented
Interpreter
compiler
linker
pseudo mean
(a)
all statements are translated and stored as an executable
program, or object program; execution occurs later
compiler
stored
linker
interpreter
combines all of the compiled code required for the program
linker
compiler
storation
interpreter
available instructions are used to create self-contained
units called procedures
Object-oriented:
procedural
compiler
linker
reusable objects, containing code and data, are manipulated
Object-oriented
Procedural
linker
compiler
the translation of the selected
algorithm into a language the computer can use
Algorithm
Programming
Pseudocode
Formula
diagram showing the flow of
instructions in an algorithm
Pseudocode
algorithm
program
flowchart
English-like phrases used to
describe the algorithm
Programming
Pseudocode
Flowchart
Algorithm
the step-by-step sequence of
instructions that describe how the data is to be
processed to produce the desired output
Algorithm
Programming
Pseudocode
flowchart
