ICT All Lesson Prelims G12

0.0(0)
studied byStudied by 2 people
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/81

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

82 Terms

1
New cards

hexadecimal to decimal

Multiply hex digits by powers of 16.

<p>Multiply hex digits by powers of 16.</p>
2
New cards

octal to decimal

Make a vertical column of the number in order from right to left, top to bottom. Multiply each number by 8 raising the top number to a power of 0 and giving each consecutive power the next number in sequence (1,2,3)

<p>Make a vertical column of the number in order from right to left, top to bottom. Multiply each number by 8 raising the top number to a power of 0 and giving each consecutive power the next number in sequence (1,2,3)</p>
3
New cards

Binary to Decimal

Multiply by powers of 2 beginning with the rightmost digit

<p>Multiply by powers of 2 beginning with the rightmost digit</p>
4
New cards

Binary to Octal

Break up the binary code into sections of three from right to left. if the last section has less than 3, add enough 0's to make a group of 3. Convert the groups of 3 into their corresponding numbers 0-7.

<p>Break up the binary code into sections of three from right to left. if the last section has less than 3, add enough 0's to make a group of 3. Convert the groups of 3 into their corresponding numbers 0-7.</p>
5
New cards

Binary to Hexadecimal

Combine each group of four binary bits into a single hexadecimal digit and convert it into corresponding numbers 0-9 and a-f

<p>Combine each group of four binary bits into a single hexadecimal digit and convert it into corresponding numbers 0-9 and a-f</p>
6
New cards

Octal to Binary

Divide the number by 8 until there is nothing left, accumulating 1's and 0's

<p>Divide the number by 8 until there is nothing left, accumulating 1's and 0's</p>
7
New cards

Hexadecimal to Binary

Split up the hexadecimal digits into single digits, convert each digit to binary nibbles using the headings 8421. Put the nibbles into order for the final binary value

<p>Split up the hexadecimal digits into single digits, convert each digit to binary nibbles using the headings 8421. Put the nibbles into order for the final binary value</p>
8
New cards

Decimal to Octal

*divide by 8

*keep track of remainder

9
New cards

Decimal to Hexadecimal

divide by 16

10
New cards

Decimal to Binary

divide by 2 and keep remainder

<p>divide by 2 and keep remainder</p>
11
New cards

octal to hexadecimal

Octal -> Binary -> Hexadecimal

12
New cards

hexa to octal

hexa->binary->octal

13
New cards

The Computer System

consists of three components: Hardware, Software, and Peopleware.

14
New cards

Hardware

Includes Input Devices, Output Devices, and Storage Devices.

15
New cards

Software

Includes System Software / Operating System, Application Software, and Programming Languages.

16
New cards

Peopleware

Refers to people involved in the computing process such as users, programmers, and IT staff.

17
New cards

Human Language

Commonly used to express feelings and understand other person's expression. It can be oral or gestural kind of communication.

18
New cards

Computer Language

The language by which a user commands a computer to work on the algorithm which a user has written to get an output.

19
New cards

Programming Language

Set of words, symbols, and codes that enables humans to communicate with computers.

20
New cards

Basic Elements of Programming Language

Includes: Programming Environment, Data Types, Variables, Keywords, Arithmetical and Logical Operators, If-Else Conditions, Loops, Numbers, Characters and Arrays, Functions, Input and Output Operations.

21
New cards

Computer Program

A series of organized instructions that directs a computer to perform tasks. A sequence of instructions that dictate the flow of impulses within a computer system.

22
New cards

Editor

allows the user to enter the program source code and save it to files.

23
New cards

Syntax

A language refers to the way pieces of the language are arranged to make well-formed sentence (grammar).

24
New cards

Compiler

A computer program which reads source code and outputs assembly code or executable code. This software converts the code written in high-level language into object file. Translate entire programs into machine code, which can be run later on the target computer. Examples: C, C++

25
New cards

Compiler Process

Includes three stages: Preprocessor, Compiler, Linker.

26
New cards

Preprocessor

Adds to or modifies the contents of the source file before the compiler begins processing the code.

27
New cards

Compiler Stage

Translates C++ source code to machine code.

28
New cards

Linker

Combines the compiler-generated machine code with precompiled library code or compiled code from other sources to make a complete executable program.

29
New cards

Source Code

In the form of text, is human-readable, generated by human, and is input to the compiler.

30
New cards

Object Code

In the form of binary numbers, is machine-readable, generated by compiler, and is output of the compiler.

31
New cards

Debugger

Allows a programmer to more easily trace a program's execution in order to locate and correct errors in the program's implementation.

32
New cards

Debugger (Function)

A developer can simultaneously run a program and see which line in the source code is responsible for the program's current actions.

33
New cards

Profiler

Collects statistics about a program's execution allowing developers to tune appropriate parts of the program to improve its overall performance. Indicates how many times a portion of a program is executed during a particular run, and how long it takes to execute. The main purpose of profiling is to find the parts of a program that can be improved to make the program run faster.

34
New cards

Integrated Development Environment (IDE)

Includes editors, debuggers, and other programming aids in one comprehensive program. Microsoft Visual Studio 2015, Eclipse Foundation's Eclipse CDT, and Apple's Xcode.

35
New cards

C++ History (Creator)

Bjarne Stroustrup

36
New cards

C++ History (Creation)

Created in 1979 at Bell Labs, Murray Hill and originally called C with Classes.

37
New cards

C++ History (Renaming)

Renamed as C++ in 1983; pronounced as see-plus-plus.

38
New cards

C++ History (Standardization)

A standardized language (ISO standard) in 1998.

39
New cards

C++ Features

List: Simple, Portable, Powerful, Platform Dependent, Object-Oriented, Case Sensitive, Compiler-Based, Syntax-Based Language, Use of Pointers.

40
New cards

C++ Feature - SIMPLE

Can be written in simple English language.

41
New cards

C++ Feature - PORTABILITY

The concept of carrying the instruction from one system to another system.

42
New cards

C++ Feature - POWERFUL

It has a wide variety of data types, functions, control statements, decision-making statements, etc.

43
New cards

C++ Feature - PLATFORM DEPENDENT

Applications that run under only one operating system in one series of computers.

44
New cards

C++ Feature - CASE SENSITIVE

It treats the lower-case letter separately from upper-case letter.

45
New cards

C++ Feature - OBJECT ORIENTED

It follows the concept of OOP like polymorphism, inheritance, encapsulation, abstraction.

46
New cards

C++ Feature - COMPILER-BASED

Without compilation, no C++ program will be executed.

47
New cards

C++ Feature - SYNTAX-BASED LANGUAGE

A strongly tight syntax-based programming language.

48
New cards

C++ Feature - USE OF POINTERS

A variable which holds the address of another variable; directly directs access to a memory address of any variable.

49
New cards

Software Written in C++

Examples: Windows XP, iPad, Google Chrome, Safari, MS Office, YouTube, VLC media player, MySQL, Warcraft, Adobe applications.

50
New cards

Computer Language

The language by which a user commands a computer to work on the algorithm which a user has written to get an output.

51
New cards

Programming Languages

Used to write application programs which are used by end users.

52
New cards

C++ Overview

A statically typed, compiled, general purpose, case sensitive, free-form programming language that supports procedural, object-oriented, and generic programming.

53
New cards

C++ programming language is case-sensitive.

true

54
New cards

Input and Output

This property of an algorithm specifies the set of elements to be encoded and the expected outcomes.

55
New cards

Flow lines

Connects the steps of the flowchart and indicates the sequence of procedures.

<p>Connects the steps of the flowchart and indicates the sequence of procedures.</p>
56
New cards

Human Language

Commonly used to express feelings and understand another person's expression.

57
New cards

Decision

Used to evaluate condition and decide for a course of action.

<p>Used to evaluate condition and decide for a course of action.</p>
58
New cards

It is an input given to the compiler.

Does not describe the object code?

59
New cards

Input/Output

Used to represent any of the devices used to accept or give our data.

<p>Used to represent any of the devices used to accept or give our data.</p>
60
New cards

top to bottom

A flowchart should flow from?

61
New cards

Process

Used to represent an operation or a procedure.

<p>Used to represent an operation or a procedure.</p>
62
New cards

Terminal

Indicates the start and end of the algorithm.

<p>Indicates the start and end of the algorithm.</p>
63
New cards

Compiler

Converts the written high-level programming language into an object code.

64
New cards

Off-page connector

Connects one step of the flowchart to another step on the other page.

<p>Connects one step of the flowchart to another step on the other page.</p>
65
New cards

On-page connector

Connects one step of the flowchart to another step on the same page.

<p>Connects one step of the flowchart to another step on the same page.</p>
66
New cards

Initialization

Used to represent starting values of variables.

<p>Used to represent starting values of variables.</p>
67
New cards

CODING

The stage where the actual computer program is written using languages like C, Visual Basic, or Java. Syntax errors such as spelling and missing commas are eliminated here.

68
New cards

TESTING AND DEBUGGING

Testing ensures that all functions in the system work correctly. Debugging is the process of identifying and fixing errors found during testing.

69
New cards

DOCUMENTATION

The phase where development records of the current software version are kept for reference in redesigning and maintaining the program.

70
New cards

MAINTENANCE

The process of updating and correcting the program when errors are found during actual use or execution.

71
New cards

ALGORITHM

A formula or set of steps for solving a particular problem. A logical sequence of steps that solve a problem. It is used as a guide to solve problems. Can be expressed in English-like language called pseudocode. Can also be expressed in graphical form called flowchart

72
New cards

Finiteness

There is an exact number of steps to be taken.

73
New cards

Absence of ambiguity

Every instruction is precisely described and clearly specified.

74
New cards

Sequence of execution

Instructions are performed from start to bottom.

75
New cards

Input and output

The unknown of the problem is specified and with the expected outcome.

76
New cards

Effectiveness

The solution prescribed is guaranteed to give a correct answer and specified process is carried out.

77
New cards

Scope definition

Applies to a specific problem or class of problem.

78
New cards

IPO model

The input-process-output model presents the flow how data entered by the user should be processed by the machine to produce result.

79
New cards

Pseudocode

An artificial and informal language that helps programmers develop algorithms. A shorthand notation for programming which uses a combination of informal programming structures and verbal description of code. Emphasis is placed on expressing the behavior or outcome of each portion of code rather than on strict correct syntax.

80
New cards

Writing a pseudocode

Several keywords are often used to indicate common input, output and processing operations:

- input: read, obtain, get

- output: print, display, show

-compute: compute, calculate, determine

- initialize: set init

- add one: increment, bump

81
New cards

Flowcharting

One of the processes used in designing or planning the solution to a problem. A graphical representation to the solution of the problem. Uses shapes to show instructions and arrow lines and heads to display the flow.

82
New cards

Flowcharting guidelines

The flowchart should flow from top to bottom. If the chart becomes complex, utilize connecting blocks. Avoid intersecting flowlines. Use meaningful description in the symbol.