Machine-translated by Google. Questions are authored in English.
Top

Operating System Structure Questions and Answers

51.

The output generated by the LINUX command : $ seq 1 2 10 will be

Exam Year(s)

UGC NET - 2014,

Answer: C

The command prints 1 3 5 7 9.

seq FIRST INCREMENT LAST prints numbers from the first, adding the increment until the last is passed. Here it starts at 1, steps by 2 and stops at 9, which is under 10.

The other options ignore the increment of 2 or print a different set. The general form is seq first increment last, and with only two arguments the increment defaults to 1. With three arguments, as here, the middle one is the step, so the sequence is 1, 3, 5, 7, 9 and the next value, 11, would exceed the last value of 10.

Please log in or register to report this question.

52.

Windows 32 API supports

Exam Year(s)

UGC NET - 2014,

Answer: D

The Windows 32 API supports all of 16-bit, 32-bit and 64-bit Windows.

The Win32 API was introduced for 32-bit Windows, it can be used from 16-bit applications through thunking, and 64-bit Windows keeps the same API.

Each of the first three options is true for it, so the answer is all of the above. Win32 was designed so that 16-bit applications could still be supported on 32-bit Windows, and 64-bit Windows retained the same API, called Win32 even there. For these reasons the key accepts 'All of the above'.

Please log in or register to report this question.

Loading…

Other Subjects

Tags: Operating System Structure Questions and Answers || Operating System Structure MCQ Questions and Answers || Operating System Structure GK Questions and Answers || Operating System Structure GK MCQ Questions || Operating System Structure Multiple Choice Questions and Answers || Operating System Structure GK || GK on Operating System Structure || Operating Systems Questions and Answers || Operating Systems MCQ Questions and Answers || Operating Systems GK Questions and Answers || GK on Operating Systems