• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/35

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

35 Cards in this Set

  • Front
  • Back

What is a variable

A named location in the computer's memory that can be used to store a value. E.g. words and numbers

Name the variable type


A string of characters, such as a word or phrase

String

The definition of integer

A whole number

Name the variable type


a numbee with a decimal point.

Real ir float or floating point number

Definition of boolean

A true or false statement

What type of variable is Dave12

String

What type of variable is 1025

Integer

What type of variable is 3.15

Float/ real

What type of vatiable is a true or false statement

Boolean

What type of variable is 01620-823562

String

Which type of program code is written in a format resembling English?

Source code

Which type of programming language uses mnemonics to represent instructions?

Assembly code

What type of code is made up of ones and zeroes

Machine code

What is the name of the suite of programs that helps the computer to manage files, memory, tasks and input-output operations?

The operating system

A phython program contains that statement : age= 15


What type of variable is age?

Integer

What python function can be used to convert strings to floating point numbers?

The float () function

How are string values shown in pythan programs?

They have quote marks around them

What type of statement is used for testing conditions

IF statements

What determines the degree of accuracy of a floating point number represented in binary

The size of the mantissa

What does the exponent do

The exponent determines ths range of numbers that can be represented in a floating point number represented in binary

What is the job of the CPU and what does CUP stand for

COMPUTER PROCESSING UNIT or processor, executes programs

What is main memory

Primary storage or main memory holds the programs currently being executed abd the data they are processing.

What is backing storage

Secondary storage or backing storage such as hard disks or flash drives store programs and data

Name 2 input devices

Mouse


Keyboard

Name 2 output devices

Display screens


Printers

What does ALU stand for and what does it do

ARITHMETIC AND LOGIC UNIT executes the program instructions, carrying out calculations, boolean operations and xomparisons

Name the 3 parts of the CPU

ALU


Registers


Control unit

Name the 2 busses

Address bus


Data bus

What is normal data

Data the program is likely to encounter during a typical run.

What is extreme data

Data at the boundaries of the programs capabilities

What is exceptional data

Data that is incorrect and should not be processed by the program

Give 2 advantages of using a compiler

All errors can be found on a single pass



Generated code is highly optimised and runs efficiently



Once the program has been compiled it cam be execuyed many times without recompiling

Give 1 disadvantage of using a compiler

Errors cant be found until the program is complete and ready for compilation



Compilation of large programs can take a long time



If anything is changed, the whole program needs to be recompiled

Give 1 advantage of using interpreters

Errors can be located during program development



Programs can be run again as soon as they are amended- no need to recompile

Give 2 disadvantages to using a interpreter

Programs generally stop after the first error is encountered, so it may take several runs to find them all.



Execution time is slow in comparison to compiled code.



Programs cannot be optimised