12 Question Test

Q1

PHONY targets are...

... recipes for removing files.

... targets that refer to files and actions

... targets that refer to files.

... targets that do not refer to files but are just actions

Q2

‘#’ in a line of a makefile starts a ...

... action.

... instruction

... rule

... comment.

Q3

For std::binary_search to succeed, the range [first, last) must be at least partially ordered with respect to value

True

False

Q4

The std::sort() sorts the elements in the range [first, last) in descending order.

True

False

Q5

It is only possible to have a single catch block.

True

False

Q6

The operations open() and close() are required in all file operations for gracefully open and close files

True

False

Q7

The operation boost::filesystem::is_regular_file() is used for check if the path is a directory.

True

False

Q8

In C++, Error handling is done using three keywords:

try catch throw

try caught throw

try catch lobit

Q9

The CPU clock frequencies have generally stabilised for the past few years and increasing computing power has been possible mainly through adding more and more computing cores to processors.

True

False

Q10

The STL C++17 introduces the parallel STL

False

True

Q11

A process is a lightweight executable entity and a thread is a heavyweight executable entity.

True

False

Q12

A process can be composed of multi-threads

False

True