wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Engineering Fundamentals Assessment

Total questions: 12

Worksheet time: 6mins

Name
Class
Date
1.

What is the primary function of an operating system?

a)

To provide internet connectivity

b)

To run applications exclusively

c)

To serve as a database management system

d)

The primary function of an operating system is to manage hardware and software resources.

2.

Name three types of operating systems.

a)

Single-User

b)

Network

c)

Batch, Time-Sharing, Real-Time

d)

Distributed

3.

Explain the difference between a process and a thread.

a)

A process is always faster than a thread.

b)

A process is a lightweight unit that shares memory with other processes.

c)

Threads cannot communicate with each other.

d)

A process is an independent execution unit with its own memory, while a thread is a lightweight unit of a process that shares memory with other threads.

4.

What is a deadlock in operating systems?

a)

A deadlock is a situation in operating systems where processes are unable to proceed because they are each waiting for resources held by the other.

b)

A deadlock occurs when a process is terminated unexpectedly.

c)

A deadlock is when a process runs out of memory.

d)

A deadlock is a situation where all processes are running smoothly.

5.

Describe the OSI model and its layers.

a)

1) Physical, 2) Network, 3) Transport, 4) Session, 5) Application, 6) Presentation, 7) Data Link

b)

The OSI model consists of seven layers: 1) Physical, 2) Data Link, 3) Network, 4) Transport, 5) Session, 6) Presentation, 7) Application.

c)

1) Physical, 2) Data Link, 3) Network, 4) Transport, 5) Application, 6) Session, 7) Presentation

d)

1) Physical, 2) Data Link, 3) Network, 4) Transport, 5) Session, 6) Application, 7) Presentation

6.

What is the purpose of a subnet mask in networking?

a)

The purpose of a subnet mask is to identify the network and host portions of an IP address.

b)

To determine the speed of data transfer in a network.

c)

To encrypt data transmitted over the network.

d)

To assign IP addresses to devices automatically.

7.

Explain the difference between TCP and UDP.

a)

TCP is reliable and connection-oriented; UDP is faster and connectionless.

b)

UDP guarantees delivery of packets while TCP does not.

c)

TCP is faster and connectionless; UDP is reliable and connection-oriented.

d)

TCP and UDP are both connection-oriented protocols.

8.

What is the role of a router in a network?

a)

A router connects devices within the same network only.

b)

A router is used to store data packets permanently.

c)

A router directs data packets between networks and determines the best path for data transmission.

d)

A router encrypts data for secure transmission.

9.

Define encapsulation in object-oriented programming.

a)

Encapsulation is the method of exposing all data and methods to the public.

b)

Encapsulation is the bundling of data and methods that operate on that data within a single unit, restricting access to the internal state.

c)

Encapsulation refers to the inheritance of properties from one class to another.

d)

Encapsulation is the process of creating multiple classes in a program.

10.

What are the four main principles of object-oriented programming?

a)

Encapsulation, Polymorphism, Composition, Data Hiding

b)

Abstraction, Inheritance, Composition, Modularity

c)

Composition, Aggregation, Inheritance, Encapsulation

d)

Encapsulation, Inheritance, Polymorphism, Abstraction

11.

What is polymorphism in programming?

a)

Polymorphism is the technique of hiding data within a class.

b)

Polymorphism refers to the process of compiling code into machine language.

c)

Polymorphism is the ability to create multiple instances of a class.

d)

Polymorphism is the ability of different classes to be treated as instances of the same class through a common interface.

12.

How does inheritance work in object-oriented programming?

a)

Inheritance allows a subclass to inherit attributes and methods from a superclass, promoting code reuse and establishing a class hierarchy.

b)

Inheritance is only used for data storage and has no impact on code functionality.

c)

Inheritance is a method for creating new classes without any relationship to existing ones.

d)

Inheritance allows a superclass to inherit attributes from a subclass.