wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Quiz 2

Total questions: 32

Worksheet time: 20mins

Name
Class
Date
1.

1.  What is the main purpose of a Version Control System?

a)

  To manage multiple versions of source code

b)

   To delete old versions of files

c)

To enhance the security of software projects

d)

To speed up software compilation

2.

2.  What type of Version Control System is Git?

a)

Centralized

b)

Distributed

c)

Local

d)

 Hybrid

3.

Which command is used to create a new Git repository

a)

git init

b)

git clone

c)

git commit

d)

git add

4.

Which command is used to synchronize changes from the remote repository to your local repository?

a)

git push

b)

git pull

c)

git clone

d)

git merge

5.

What is a branch in Git?

a)

A type of version control system

b)

A pointer to a specific commit

c)

A separate workspace for development

d)

A backup copy of the repository

6.

What mode should be used to open a file in Python for reading?

a)

'w'

b)

'r'

c)

'a'

d)

'x'

7.

Which method is used to write data to a file in Python?

a)

read()

b)

write()

c)

open()

d)

append()

8.

How do you read the entire content of a file as a string in Python?

b)

file.readlines()

c)

file.readline()

d)

file.write()

9.

Which method is used to read a single line from a file?

a)

read()

b)

readline()

c)

readlines()

d)

write()

10.

What does an ultrasonic sensor primarily measure?

a)

Temperature

b)

Pressure

c)

Distance

d)

Light intensity

11.

What is the primary function of the Common Services Entity (CSE) in oneM2M?

a)

Manages network traffic

b)

 Provides common services to AE and other CSEs

c)

Stores application data

d)

Authenticates users

12.

In oneM2M, what does the acronym MN-CSE stand for?

a)

Master Network - Central Service Entity

b)

Middle Node - Common Service Entity

c)

Main Node - Communication Service Entity

d)

Mobile Network - Centralized Service Entity

13.

What is the role of the Infrastructure Node (IN) in the oneM2M architecture?

a)

To manage network connections between devices

b)

To provide services at the infrastructure level, such as cloud services

c)

To handle device authentication and security

d)

To store and process application data locally

14.

To store and process application data locally

a)

IoT service platform

b)

IoT application

c)

IoT device platform

d)

Thing Adaptation Software (TAS)

15.

What is the purpose of the &Cube component in the diagram?

a)

To provide power to IoT devices

b)

To act as a gateway between IoT devices and the network

c)

To process data collected from IoT devices

d)

To store and retrieve data from the IoT service platform

16.

تعبت ؟

a)

اه كفايه اسئله

b)

ولا شايف حد ف مصر كلها قدامى

17.

The oneM2M architecture consists of four layers

a)

False

b)

True

18.

Application Service Node is a logical device containing a CSE and AE located in the field domain.

a)

False

b)

True

19.

The oneM2M architecture is designed to support global IoT interoperability

a)

False

b)

True

20.

Horizontal IoT frameworks are generally less flexible and can be applied across various industries.

a)

False

b)

True

21.

The Thing Adaptation Software (TAS) is responsible for controlling IoT devices

a)

False

b)

True

22.

The git add command commits changes directly to the repository

a)

False

b)

True

23.

A commit in Git is like a snapshot of the repository at a specific point in time.

a)

False

b)

True

24.

A pull request is a request to merge changes from one branch into another.

a)

False

b)

True

25.

The git merge command is used to delete a branch.

a)

False

b)

True

26.

The git log command shows the commit history of a repository

a)

False

b)

True

27.

The DHT11 sensor can measure both temperature and distance.

a)

False

b)

True

28.

The DHT11 sensor can measure both temperature and distance.

a)

False

b)

True

29.

When a file is opened in 'w' mode, the file's existing content is preserved and new content is

a)

False

b)

True

30.

The psutil.disk_usage('/') function returns the disk usage statistics for the root directory (/).

a)

False

b)

True

31.

The psutil.cpu_count() function returns the number of logical CPUs (including hyper-threading) by default.

a)

False

b)

True

32.

تعبت ولا لسه 😏😏

a)

خلاص جبت أخرى 🥲

b)

ولا شايف حد ف مصر كلها قدامى 😎