CDCDAC Prep
PGCP-BDACMCE (CCE Modules Exam)•20 Questions

Linux Programming and Cloud Computing Practice MCQs

Topic Covered in this Question Set

Linux Evolution, GNU, GPL and System Architecture

Click on an option to check your answer immediately. Full solution & explanation provided for every question.

Interactive Practice Mode

Linux Programming and Cloud Computing Free MCQs

Select an option to test your knowledge with real exam questions and instant explanations.

Total20
Correct0
Wrong0
Progress: 0 of 20 answered0% Accuracy
Q1 of 20

Strictly speaking, what does the name "Linux" refer to?

Open topic in App →
Q2 of 20

In 1973 UNIX was largely rewritten in the C language. What was the main benefit of this rewrite?

Open topic in App →
Q3 of 20

By 1991 the GNU project had produced most parts of a free Unix-like system. Which essential component was still not ready, leaving the gap that Linux filled?

Open topic in App →
Q4 of 20

A company modifies a GPL-licensed log-analysis tool and uses the modified version only on its own internal servers. It never gives the program to anyone outside the company. What does the GPL require?

Open topic in App →
Q5 of 20

A vendor sells a network appliance that ships with a modified GPL program. Which statement about the vendor's obligations is correct?

Open topic in App →
Q6 of 20

A startup wants to copy and modify a library's source code inside its closed-source product and distribute only binaries, without releasing any source code. Under which licence is this allowed?

Open topic in App →
Q7 of 20

An administrator who has always used Ubuntu starts managing Rocky Linux servers. Which package-management tool should they expect to use on Rocky Linux?

Open topic in App →
Q8 of 20

On a Linux server, the program sshd runs continuously in the background, waiting to accept remote logins. What is such a background service process called?

Open topic in App →
Q9 of 20

Which command prints only the release of the running kernel, for example 6.8.0-45-generic?

Open topic in App →
Q10 of 20

Where does the bash shell run in the Linux architecture?

Open topic in App →
Q11 of 20

A C program calls printf("hello\n"). Which statement about this call is accurate?

Open topic in App →
Q12 of 20

When a program calls the read() wrapper in glibc, what actually switches the CPU from user mode to kernel mode?

Open topic in App →
Q13 of 20

In this C fragment, the child's execlp() call succeeds: ```bash pid_t pid = fork(); if (pid == 0) { execlp("echo", "echo", "hi", (char *)NULL); perror("execlp"); return 1; } ``` What happens to the perror("execlp") line in the child?

Open topic in App →
Q14 of 20

What value does a successful fork() call return inside the newly created child process?

Open topic in App →
Q15 of 20

Which statement correctly describes the design of the Linux kernel?

Open topic in App →
Q16 of 20

The system calls fork(), exec() and wait() belong to which category?

Open topic in App →
Q17 of 20

Which command shows the manual page for the write system call, rather than the user command of the same name?

Open topic in App →
Q18 of 20

Which of these operations is a privileged instruction that may be executed only in kernel mode?

Open topic in App →
Q19 of 20

A team is preparing Linux machines to run a database. Why are such servers usually installed without a graphical desktop?

Open topic in App →
Q20 of 20

A buggy user program tries to write directly into memory that belongs to the kernel. What normally happens?

Open topic in App →
Need to review the concepts?

Read Linux Programming and Cloud Computing Study Notes

Review complete topic notes, syntax guides, code examples, and summary tables.

Read Free Study Notes →