Questions
A closed-loop system can provide a feedback loop. True or false?
- True
- False
What is a characteristic of a digital sensor?
- A single, variable output
- Does not use electricity
- Outputs a stream of 1s and 0s
- Can only measure temperature
What is NOT an advantage of using computer control systems?
- Computers can respond quickly to changes
- Computers are always ready to respond
- Computers do not require sensors
- Computers can operate in hazardous environments
Which of the following is NOT an actuator?
- Electric fan
- Thermostat
- Heater
- Lamp
What is paging?
- Providing more virtual RAM than physical RAM exists
- RAM overflow
- Increasing virtual RAM capacity by compressing data
- Using RAM to store and access files like a disk
What is a system interrupt?
- A device requests the processor's immediate attention
- The CPU asks the device if there has been an update
- The process by which a CPU prioritises applications
- The current CPU instruction is dropped to process new data
Smartphones are computers. True or false?
- True
- False
An analogue radio is a computer. True or false?
- True
- False
Digital cameras are computers. True or false?
- True
- False
What is not a function of the CPU?
- Addition
- Allocating memory to applications
- Processing graphical information
- Storing data long-term
What is this function an example of?
- Recursion
- For loops
- Iteration
- Abstraction
What is a recursive function?
- A function that calls itself
- A function that uses nested for-loops
- A function that does not produce an output
- A function that takes multiple inputs
What is a base case?
- The point at which the recursion loop will stop
- The element of a program that can be represented recursively
- An error causing the recursion loop to stop
- A for loop
What type of linked list is this?
- Doubly linked
- Circularly linked
- Doubly circularly linked
- Normal linked list
How does a linked list differ from an array?
- The size is dynamically allocated
- The size is static
- It is last-in-first-out
- It is first-in-first-out
Which data structure is first-in-first-out?
- Stack
- Queue
- Linked list
- Binary tree
Which data structure is last-in-first-out?
- Stack
- Queue
- Linked list
- Binary tree
What is a mutator method?
- A getter function
- A setter function
- A constructor
- An overridden method
Will having two or more constructors in a class cause an error?
- Always
- Never
- Not necessarily
- All of the above
What allows a class to have multiple implementations of the same behaviour?
- Polymorphism
- Abstraction
- Aggregation
- Inheritance
What does the access modifier "private" mean?
- Only its own class can access it
- Any class can access it
- Only its package can access it
- Only its subclasses can access it
What is the restriction of unauthorised data accessing between classes called?
- Encapsulation
- Abstraction
- Inheritance
- Overloading
What can a temporary connection between two classes be called?
- Aggregation
- Dependency
- Inheritance
- Overloading
What can a permanent connection between two classes be called?
- Aggregation
- Dependency
- Inheritance
- Overloading
What does UML stand for?
- Unified modelling language
- User method locator
- Unilateral mode logger
- Unlinked markup language
Identify the odd one out
- Integer
- Float
- Array
- Boolean
What does a compiler do?
- Converts a program into machine code before it is run
- Converts a program into machine code when it is run
- Helps a programmer debug their code
- All of the above
Which of the following is NOT a high-level programming language?
- Assembly
- C#
- Java
- Ruby
Which sorting algorithm moves the highest value to the end of the array with each pass?
- Bubble sort
- Selection sort
- Binary sort
- Boingo sort
Binary search only works on sorted data. True or false?
- True
- False
What is it called to deal with multiple things at once?
- Redundancy
- Concurrency
- Abstraction
- Planning ahead
What is it called to make software compatible with a range of future possibilities?
- Redundancy
- Concurrency
- Abstraction
- Planning ahead
What is it called to have more resources than necessary to complete a task?
- Redundancy
- Concurrency
- Abstraction
- Planning ahead
What is a group of computers connected together on the scale of a home or office called?
- LAN
- WLAN
- WAN
- PAN
Which of the following transmission methods can carry data the fastest?
- Coaxial
- Fibre optic
- Satellite
- Copper phone line
Which of the following is NOT a lossy format?
- jpg
- flac
- mp4
- mp3
What is a denial of service attack?
- A client refusing to provide service
- Too many requests causing a server to refuse connections
- A server contacting too many clients and shutting them down
- A vulnerability exploited to gain access to a system
What does UDP stand for?
- User datagram protocol
- Unified data protocol
- Unified datagram protocol
- User data protocol
UDP verifies that all packets have arrived. True or false?
- True
- False
What does TCP stand for?
- Transport control protocol
- Transfer control protocol
- Transmission control protocol
- Transaction control protocol
What is twos complement?
- A way of storing negative numbers
- A way of storing even numbers
- A way of storing decimals
- A way of storing strings
What is ASCII?
- A way of representing characters as binary
- An IDE
- A protocol for internet communication
- An exclamation
What is 00110010 (binary) in hexadecimal?
- 32
- 2E
- 2F
- 30
What is 11001010 (binary) in decimal?
- 202
- 188
- 206
- 200
What is 66 (decimal) in hexadecimal?
- 42
- 3A
- F2
- 4B
What is 25 (decimal) in binary?
- 00011001
- 00001011
- 00111001
- 00010001
What are 1 billion bytes are called?
- Gigabyte
- Terabyte
- Megabyte
- Gigabit
What are 1000 1s and 0s are called?
- Kilobyte
- Kilobit
- Kilooctet
- Megabyte
What is a single 1 or 0 is called?
- Byte
- Bit
- Kilobyte
- Octet
Which option is NOT a deployment issue?
- Disks are impractical to distribute and use
- Downloads could use up internet quotas
- Automatic updates install updates in the background
- Manual updates are slow to roll over
What is software that is run entirely on internal systems called?
- Software as a service
- Platform as a service
- Infrastructure as a service
- Enterprise IT
What is software that is accessible through a web portal and operated externally called?
- Software as a service
- Platform as a service
- Infrastructure as a service
- Enterprise IT
What model shows what your product might look like?
- Wireframe model
- Recommended project model
- Possible project model
- Device diagram model
What is a way of showing how the various functions of your program interact?
- Flow chart
- Gantt chart
- Context diagram
- Prototype