Exam Revision Flashcards

0
Q

A parameter is:

A

A placeholder for data passed to a sub routine or function

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

Machine code is:

A

The output of the compiler.

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

Valid comment in Visual Basic

A

‘The rest of the line is a comment

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

The scope of a private sub is

A

This subroutine can only be used by this form (or class)

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

A group of objects or variables all having the same name are

A

An array

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

What is copyright? Why do we have copyright?

A

Copyright is the right that creators have to stop others from copying their creative works without their permission. It is done to protect the work of individuals so it is not stolen and claimed as their own.

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

What is public domain?

A

Public domain works are not restricted by copyright and do not require a license or fee to use. Public domain status allows the user unrestricted access and unlimited creativity!

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

What is fair use?

A

Fair use is a defence to copyright infringement. It essentially asks of
any particular use, ‘is this fair?’ This is determined on a case by case basis. The statute does not define what is fair.

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

What is the creative commons?

A

Creative Commons is an international non-profit organisation that provides free licences and tools that copyright owners can use to allow others to share, reuse and remix their material, legally.

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

What is different about an open software?

A

The term “open source” refers to something that can be modified because its design is publicly accessible.

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

What is string?

A

A string is a data type used in programming, such as an integer and floating point unit, but is used to represent text rather than numbers.

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

What is char?

A

It is short for character, which is a data type that holds one character (letter, number, etc.) of data. For example, the value of a char variable could be any one-character value, such as ‘c’, ‘4’, or ‘#’.

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

What is Boolean?

A

Boolean consists of operators such as AND, OR, NOT, and XOR. Booleans are often used in programming and today in Internet search engines. Boolean expressions are expressions that result in the value of either TRUE or FALSE

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

What is an integer?

A

A whole number

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

What is Hungarian Notation?

A

Hungarian notation is an identifier naming convention in computer programming, in which the name of a variable or function indicates its type or intended use.

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

How do you use the RND() function to get a whole number between 2 and 12

A
Private Sub Form_Load() 
                                         Randomize
Dim iNumber As Integer
For iNumber = 2-12
Next
End Sub
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are properties? When can you change them? How?

A

Characteristic of an object.

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

Why do we place comments in the code? Where should we place it?

A

You can use comments to explain your code, which can help you when you edit the source code at a later date. This is especially useful if you have a lot of code.

18
Q

Enumerations are a constructed data type. Why do we use them? How are they “constructed”?

A

An enumeration is a data type consisting of a set of named values that represent integral constants, known as enumeration constants. An enumeration also referred to as an enumerated type because you must list (enumerate) each of the values in creating a name for each of them. In addition to providing a way of defining and grouping sets of integral constants, enumerations are useful for variables that have a small number of possible values.

19
Q

Arrays are a data structure. When do we use an array? Why do we use an array? How do you declare an array

A

In programming, a series of objects all of which are the same size and type.

int[] myIntArray = new int[3];
int[] myIntArray = {1,2,3};
int[] myIntArray = new int[]{1,2,3};

20
Q

How is machine code different from high level language?

A

The lowest-level programming language (except for computers that utilize programmable microcode) Machine languages are the only languages understood by computers
a high-level programming language is a programming language with strong abstraction from the details of the computer.

21
Q

What does a compiler do?

A

A compiler is a program that translates the source code for another program from a programing language into executable code. The source code is typically in a high-level programming language

22
Q

Explain the role of the linker.

A

a linker is a program that combines object modules to form an executable program.

23
Q

Explain the use of the “Imports” statement in a program.

A

The Imports statement enables types that are contained in a given namespace to be referenced directly

24
Q

What is ASCII? Unicode?

A

ASCII is a code for representing English characters as numbers, with each letter assigned a number from 0 to 127.

The Unicode Standard is the universal character encoding standard used for representation of text for computer processing. Unicode provides a consistent way of encoding multilingual plain text making it easier to exchange text files internationally.

25
Q

What does the keyboard do?

A

The keyboard is the main text input device on most computers.

26
Q

What does the monitor do?

A

A monitor displays the images and information in visual form, using text and graphics. The part of the monitor that displays the information is known as the screen. The monitor is one of the fundamental output devices of a computer system.

27
Q

What does a printer do?

A

In computers, a printer driver or a print processor is a piece of software that converts the data to be printed to the form specific to a printer

28
Q

What does a scanner do?

A

A scanner works very similar to a copy machine, in that it takes photo identical copies of things placed into them and scanned, only for the comfort of use within your own home, without the cost of a full copy machine. Scanners also have the unique ability to scan text documents, and allow you to edit them on your computer, although this is still not 100% foolproof yet, and often gives some errors here and there.

29
Q

What does a mouse do?

A

A mouse provides an easy point-and-click graphical interface with the computer.

30
Q

What do speakers do?

A

A speaker vibrates in relation to the electrical signal going to it, turning the electric signal into audible sound.

31
Q

What does a hard drive do?

A

What does a hard drive do?
Storage is the hard drive’s responsibility. Everything you keep on your computer is on a hard drive. Not just documents, pictures, music and videos. Your programs, your preferences, even your operating system—they’re all stored on your computer’s hard drive.

32
Q

What does a flash drive do?

A

A flash drive is an electronic small hardware that is normally used in the transfer, backup and storage of data.

33
Q

What does a DVD drive do?

A

An optical drive which reads DVD discs and transfers their signals electronically to play on a TV

34
Q

What is RAM?

A

acronym for random access memory, a type of computer memory that can be accessed randomly; that is, any byte of memory can be accessed without touching the preceding bytes. RAM is the most common type of memory found in computers and

35
Q

What is ALU?

A

Abbreviation of arithmetic logic unit, the part of a computer that performs all arithmetic computations, such as addition and multiplication, and all comparison operations.

36
Q

What is a microphone?

A

A microphone is an instrument that translates sound waves into an electric current, typically fed into an amplifier or a broadcast transmitter. In other words, it is a transducer; it converts audio energy into electrical signals.

37
Q

What does a modem do?

A

The word “modem” is short for “modulator-demodulator” which is essentially what it does. A computer moves data around on parallel wires by applying one or another voltage to each wire (representing 0’s and 1’s) and the voltage is read at the other end of the wires

38
Q

What does ROM do?

A

ROM (read-only memory) is a computer chip used to permanently store data in the computer. The ROM is used to store Basic Input/Output System (BIOS) information, which is software that contains information about what hardware devices are on your computer.

39
Q

Memorise the basic block program of a computer and give examples of each component.

A

You do this one fuck this I’m tired.

40
Q

In computer code what is sequential? Give example

A

Sequential coding is when each succeeding code is one binary (lol dafuq is binary) number greater than its last.

41
Q

What is conditional coding?

A

Sometimes a block of code should only be run under certain conditions. Flow control – via if and else blocks – lets you run code if certain conditions have been met.

42
Q

What is iterative coding?

A

When a process or sequence in a computer program is repeated, this is an iteration. In a computer program, a common form of iterations is a loop, which repeats code to determine values for multiple variables or sometimes just a single variable (adding up multiple values together).

43
Q

What is modular coding?

A

Modular programming is the process of subdividing a computer program into separate sub-programs.