Programming-Chapter 1(2) Flashcards

Visual C#

1
Q

Program

A

Is a list of instructions that tell a CPU to perform operations, a program is copied from disk to memory for the CPU to execute it

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

Instruction set

A

Set of operations that the CPU recognises and knows how to execute

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

Assembly language

A

Uses short words known as “mnemonics” instead of binary numbers(low-level language)

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

Assembler

A

Is a program needed to translate assembly language code into a machine language program

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

High level languages

A

Has a predefined set of words that a programmer must use to write a program

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

Syntax

A

This is the set of rules that must be followed when writing a program

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

Compiler

A

HLL translated to machine language
If a code contains syntax error a compiler error will result

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

Source code

A

Programmers code

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

Compilation

A

Translates the text-based source code into binary code

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

Interpreter

A

One at a time for each high-level
It translates it to machine language instructions
It executes the machine language instructions

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

Objects have 3 characteristics

A

Identity: Distinguishes it from other objects
State: Describes the data stored in the object(its properties)
Behaviour: Describes the functionality offered by the object (its methods)

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

Objects (controls)

A

We use an objects properties to get or set info about it
We use an objects methods to call/invoke its behaviour(to tell it to do something)

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

Class

A

Blueprint for an object
It describes a particular type of object
The data that an object can hold(its properties)
The actions that an object can perform(its methods)

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

.NET Framework

A

Provides a collection of ready-made classes another code that you can use including:
Classes to create forms, textboxes, buttons
Classes to generate random numbers
Classes to access data

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

Program development cycle

A

The process of creating a program

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

Six phases

A

1.Understand the programs purpose
2.Design the GUI
3.Design the program’s logic
4.Write the code
5.Correct syntax errors
6.Test the program and correct logic errors