System Programming MCQs with Answers
Practice important System Programming MCQs with answers and explanations.
Multiple Choice Questions
Q2321: _fgetts(command, MAX_COMMAND_LINE, stdin) reads input from the _______.
- A: standard input
- B: file
- C: system
- D: event
View Answer
A
Q2322: The function GetArgs() is used to _______.
- A: parse command line arguments
- B: create new job
- C: list jobs
- D: kill job
View Answer
A
Q2323: The command quit causes the shell to _______.
- A: exit
- B: terminate a job
- C: list jobs
- D: run a background job
View Answer
A
Q2324: _charLower(argstr[0]) converts the command to _______.
- A: lowercase
- B: uppercase
- C: hexadecimal
- D: binary
View Answer
A
Q2325: If the input command is not recognized, the shell outputs _______.
- A: Illegal command. Try again.
- B: Unknown command.
- C: Exit command.
- D: Invalid syntax.
View Answer
A
Q2326: The shell closes the job object handle using _______.
- A: CloseHandle
- B: ReleaseJob
- C: CloseJob
- D: DestroyHandle
View Answer
A
Q2327: Job shell is written in _______ programming language.
- A: C
- B: C++
- C: Java
- D: Python
View Answer
A
Q2328: The job shell requires Windows version _______ or greater.
- A: NT 3.1
- B: 95
- C: XP
- D: 7
View Answer
A
Q2329: In the job shell, process time limit is stored in the structure _______.
- A: JOBOBJECT_BASIC_LIMIT_INFORMATION
- B: PROCESS_TIME
- C: THREAD_INFO
- D: JOB_TIME
View Answer
A
Q2330: The job shell uses the _______ API for job object management.
- A: Windows
- B: Unix
- C: Linux
- D: MacOS
View Answer
A