0% found this document useful (0 votes)
3 views9 pages

Module 1 QB

The document provides a comprehensive overview of various computer science concepts, including software processing packages, algorithms, data management, operating systems, multimedia technology, and database architecture. It includes definitions, examples, algorithms, and classifications relevant to each topic. Additionally, it covers SQL commands and the structure of different programming languages.

Uploaded by

kashishgupta9892
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views9 pages

Module 1 QB

The document provides a comprehensive overview of various computer science concepts, including software processing packages, algorithms, data management, operating systems, multimedia technology, and database architecture. It includes definitions, examples, algorithms, and classifications relevant to each topic. Additionally, it covers SQL commands and the structure of different programming languages.

Uploaded by

kashishgupta9892
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

1. What are software processing packages? Give an example.

(2 Marks)

Answer:
Software processing packages are application programs designed to perform specific tasks
such as word processing, spreadsheet calculations, database management, or image
editing.

Example:
Microsoft Word (word processing), Microsoft Excel (spreadsheet processing).

2. Write an algorithm to find the largest among three numbers. (2 Marks)

Answer:
Algorithm:

1. Start

2. Input three numbers: A, B, C

3. If A > B and A > C, then A is the largest

4. Else if B > A and B > C, then B is the largest

5. Else, C is the largest

6. Display the largest number

7. End

3. State the definition of algorithm. State its disadvantages. (2 Marks)

Answer:
Definition:
An algorithm is a step-by-step procedure to solve a given problem in a finite number of
steps.

Disadvantages:

• Can be complex for large problems

• May require programming skills to implement

• Limited to well-defined problems


4. Write definitions for data and database management system. (2 Marks)

Answer:
Data: Raw facts and figures without context.
Database Management System (DBMS): Software used to store, retrieve, and manage
data in databases.

5. Classify the types of Operating System. (2 Marks)

Answer:
Types of Operating Systems:

• Batch OS

• Time-Sharing OS

• Distributed OS

• Network OS

• Real-Time OS

• Mobile OS

6. State the types of Data Manipulation Language. (2 Marks)

Answer:
Types of DML:

• Procedural DML: Specifies how data is retrieved.

• Non-Procedural DML: Specifies what data is required without specifying how.

7. Illustrate the Internet Connection Method. (2 Marks)

Answer:
Internet connection methods:

• Dial-Up

• Broadband (DSL, Cable, Fiber)


• Wi-Fi

• Mobile Data

• Ethernet

8. Explain software package file types and formats. (5 Marks)

Answer:

• Executable Files (.exe, .app) – Used to run programs

• Source Code Files (.py, .cpp) – Human-readable program code

• Configuration Files (.ini, .xml) – Stores settings

• Library Files (.dll, .so) – Contains shared functions

• Archive Files (.zip, .rar) – Compressed file formats

These file types help in organizing and distributing software efficiently.

9. List and explain the components of multimedia technology. (5 Marks)

Answer:

1. Text – For basic communication

2. Audio – Sound effects, music

3. Images – Photographs and illustrations

4. Video – Moving visuals

5. Animation – Simulated motion

6. Interactivity – User engagement via buttons, links, etc.

Multimedia combines these to create engaging content.

10. Explain how a problem is defined with a suitable example. (5 Marks)

Answer:
Problem Definition involves identifying inputs, outputs, and processing steps to solve a
task.
Example:
Find the largest among 3 numbers.

• Inputs: A, B, C

• Process: Compare values

• Output: Display the largest number

11. Illustrate the applications of multimedia. (5 Marks)

Answer:

1. Education – E-learning platforms

2. Entertainment – Games, movies

3. Advertising – Digital and interactive ads

4. Healthcare – Simulations and training

5. Business – Presentations, product demos

12. Write an algorithm to check if a number is even or odd. Give advantages. (5 Marks)

Answer:
Algorithm:

1. Start

2. Input a number N

3. If N % 2 == 0, print “Even”

4. Else, print “Odd”

5. End

Advantages:

• Simple and fast

• Useful in condition-based programming

• Reduces logic errors


13. Differentiate between Web Design and Graphic Design. (5 Marks)

Answer:

Web Design Graphic Design

Focus on websites Focus on visuals for media

Uses HTML, CSS, JavaScript Uses Photoshop, Illustrator

Involves interactivity Mostly static designs

Requires coding knowledge Requires creativity and layout skill

14. Discuss three-tier architecture of DBMS with suitable diagram. (5 Marks)

Answer:

Three Tiers:

1. Presentation Layer – User interface

2. Application Layer – Business logic

3. Database Layer – Data storage

Diagram:

lua

CopyEdit

+--------+ +--------------+ +------------+

| Client | <---> | Application | <---> | Database |

+--------+ | Server | | Server |

+--------------+ +------------+

Improves scalability and separation of concerns.

15. State and explain with diagrams the different layers of OSI model. (10 Marks)

Answer:
OSI Model Layers (Top to Bottom):

1. Application

2. Presentation

3. Session

4. Transport

5. Network

6. Data Link

7. Physical

Diagram:

+------------------+ Application

+------------------+ Presentation

+------------------+ Session

+------------------+ Transport

+------------------+ Network

+------------------+ Data Link

+------------------+ Physical

Each layer performs specific tasks for data communication.

16. Explain with the help of diagram Types of Database architecture. (10 Marks)

Answer:

Types:

1. Single-Tier – All functions on one system

2. Two-Tier – Client communicates directly with DB

3. Three-Tier – Adds application layer for business logic

Diagram:

+--------+ +--------------+ +------------+


| Client | <---> | Application | <---> | Database |

+--------+ | Server | | Server |

+--------------+ +------------+

Client ↔ App Server ↔ Database

Three-tier architecture offers scalability and modularity.

17. Classify the different types of computer Language with examples. (10 Marks)

Answer:

1. Machine Language – Binary (e.g., 101010)

2. Assembly Language – Mnemonics (e.g., MOV A, B)

3. High-Level Language – C, Java, Python

4. 4GL – SQL

5. Scripting – JavaScript, Python

6. Markup – HTML, XML

Each serves specific roles from hardware to application level.

18. Explain with example Structured Query Language. (10 Marks)

Answer:

SQL Example:

CREATE TABLE students (

id INT, name VARCHAR(50), age INT

);

INSERT INTO students VALUES (1, 'John', 20);

SELECT * FROM students;


SQL is essential for querying and managing databases.

19. Illustrate DDL Commands with Suitable Example. (10 Marks)

Answer:

DDL Commands:

sql

CopyEdit

CREATE TABLE users (

id INT, name VARCHAR(50)

);

ALTER TABLE users ADD email VARCHAR(100);

DROP TABLE users;

DDL modifies schema, unlike DML which handles data.

20. Write an algorithm and flowchart to find largest among three numbers. (10 Marks)

Answer:

Algorithm:

1. Start

2. Input A, B, C

3. Compare A > B and A > C

4. Else if B > C

5. Else C is largest

6. Display result

7. End
Flowchart:

css

Start → Input A, B, C → Compare A, B, C → Output largest → End

21. Use SQL queries to create, insert values and drop a table in database. (10 Marks)

Answer:

-- Create Table

CREATE TABLE items (

id INT, name VARCHAR(50)

);

-- Insert

INSERT INTO items VALUES (1, 'Pen');

-- Drop

DROP TABLE items;

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy