This section contains carefully selected MCQs and Previous Year Questions with explanations to help students understand concepts and prepare effectively for examinations, interviews, and competitive tests.
Q: 1
Match Set—A with Set—B:
| Set—A | Set—B |
|---|---|
| a. Java | P. Ken Thompson |
| b. Google | Q. Bjarne Stroustrup |
| c. C | R. Guido Van Rossum |
| d. Facebook | S. Dennis Ritchie |
| e. BCPL | T. Martin Richards |
| f. C++ | U. Rasmus Lerdorf |
| g. Python | V. Mark Zuckerberg |
| h. B | W. James Gosling |
| i. PHP | X. Larry Page |
Option D
| TECHNOLOGY | DESCRIPTION |
|---|---|
| Java | Java was developed by James Gosling at Sun Microsystems. |
| Google was founded by Larry Page along with Sergey Brin. | |
| C | The C programming language was created by Dennis Ritchie at AT&T Bell Labs in 1972. |
| Facebook was created by Mark Zuckerberg in 2004. | |
| BCPL | BCPL (Basic Combined Programming Language), which influenced B and C, was created by Martin Richards. |
| C++ | C++ was developed by Bjarne Stroustrup, adding Object-Oriented features to C language. |
| Python | Python was created by Guido Van Rossum. |
| B | The B programming language was developed by Ken Thompson. |
| PHP | PHP (PHP Hypertext Preprocessor) was originally created by Rasmus Lerdorf in 1994. The PHP originally stood for Personal Home Page. |
Q: 3Which of the following is not a procedural language?
Option D
A procedural language tells the computer how to do something step by step. These languages follow a clear set of instructions.
Q: 4Which language is better for writing structured code?
Option A
Structured code means writing programs in an organized way using sequence, selection, loops, and functions or procedures. This style makes a program easier to read, understand, and maintain.
PASCAL is considered the best for writing structured code because it was specially designed for teaching good programming practices. It strongly supports structured programming and encourages programmers to divide the program into clear, logical parts.
Q: 5In a modular programming approach problem is further divided into ___________.
Option C
Modular Programming is a programming approach in which a large program is divided into smaller and manageable parts called Modules. Each module performs a specific task independently. This approach makes programs:
For example, a student management system may contain separate modules for admission, fee management, result processing, and report generation.
Q: 6Which geometrical figure represents for Input/Output operation of an algorithm?
Option D
In flowchart representations of algorithms, the Parallelogram is used to represent Input-Output operations.
| SYMBOL | USED FOR | DESCRIPTION |
|---|---|---|
| Oval | Start / End | Represents the beginning or termination of a process. |
| Rectangle | Process | Represents a process, task, or operation to be performed. |
| Parallelogram | Input / Output | Represents input or output operations, such as reading data or displaying results. |
| Diamond | Decision | Represents a conditional or decision-making step. |
| Connector | Small Circle | Connects different parts of the flowchart. |
| Arrow | Flowline | Shows the direction of flow from one step to another. |
| Rectangle with wavy base | Document | Represents a document or report. |
| Rectangle with double-struck sides | Predefined Process | Represents a subroutine or predefined process. |
Q: 7The __________ provides pictorial representation of given problem.
Option B
A flowchart uses symbols and arrows to show the steps of a problem visually. It is a pictorial (diagrammatically) representation of how a program works.
Q: 8What does COBOL stands for?
Option A
COBOL is one of the oldest high-level programming languages, mainly created for handling business-related tasks such as banking, payroll, and financial records. The full form of COBOL is Common Business Oriented Language. It was developed by CODASYL (Conference on Data Systems Languages) in the year 1959.
Q: 9Which feature of the C language primarily contributed to its widespread adoption in the development of UNIX?
Option B
Q: 10Which of these statements about the standardization of C is incorrect?
Option B
New Features Added in C99:
E.g.:
#include<stdio.h>
void main()
{
int n,i;
printf("Enter Array Size : ");
scanf("%d",&n);
int arr[n];// size decided at runtime.
printf("Enter %d Array Elements",n);
for(i=0;i<n;i++)
scanf("%d",&arr[i]);
printf("The Array Elements Are");
for(i=0;i<n;i++)
printf("%d ",arr[i]);
}
OUTPUT
Enter Array Size : 5
Enter 5 Array Elements
11
22
33
44
55
The Array Elements Are
11 22 33 44 55
In Short,
Thank you so much for taking the time to read my Computer Science MCQs section carefully. Your support and interest mean a lot, and I truly appreciate you being part of this journey. Stay connected for more insights and updates! If you'd like to explore more tutorials and insights, check out my YouTube channel.
Don’t forget to subscribe and stay connected for future updates.