0% found this document useful (0 votes)
28 views2 pages

B.A CS-II Midterm Paper OBJ

The document is a midterm exam for a computer science class covering topics in database management systems and operating systems/networking. It contains two sections with 10 multiple choice questions each. The questions test knowledge of concepts like the data types that can be stored in databases, the logical structure of relational databases, functions of database management systems, layers of the OSI model, process scheduling algorithms, and the purpose of operating system components like interrupts and the scheduler.

Uploaded by

Sameer Ahmad
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)
28 views2 pages

B.A CS-II Midterm Paper OBJ

The document is a midterm exam for a computer science class covering topics in database management systems and operating systems/networking. It contains two sections with 10 multiple choice questions each. The questions test knowledge of concepts like the data types that can be stored in databases, the logical structure of relational databases, functions of database management systems, layers of the OSI model, process scheduling algorithms, and the purpose of operating system components like interrupts and the scheduler.

Uploaded by

Sameer Ahmad
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/ 2

BEST COLLEGE GUJRAT

MIDTERM EXAM
COMPUTER SCIENCE
CLASS: B.A/ B.Sc. PART: II
TOTAL MARKS: 20 TIME ALLOWED: 30 Mins
STUDENT NAME: ____________________ ROLL No: ______________________

(OBJECTIVE PART)
DATABASE MANAGEMENT SYSTEM
Note: Overwriting, cutting, and use of lead pencil or ink-remover is not allowed.
Question 1: Each question has four possible answers. Tick the correct answer: 10

1. Which type of data can be stored in the database?


a) Image-oriented b) Text, files c) Data in the d) All of the above
data containing data form of audio
or video
2. In which of the following formats data is stored in the database management system?
a) Image b) Text c) Table d) Graph
3. Which of the following is not a function of the database?
a) Managing b) Manipulating data c) Security for d) Analyzing code
stored data stored data
4. What is information about data called?
a) Hyperdata b) Tera data c) Metadata d) Relations
5. In a relational model, relations are termed as _________.
a) Tuples b) Attributes c) Tables d) Fields
6. _____________ is a hardware component that is most important for the operation of
database management:
a) High speed, large capacity disk to store data b) High-resolution video display
c) Microphone d) Printer
7. DML is provided for _________.
a) Manipulation and processing of DB b) Adding new structures.
c) Description of logical structure database d) All
8. The database schema is written in _________.
a) DDL b) AML c) DCL d) None
9. Related fields in DB are grouped to form a _________.
a) Data file b) Data record c) Menu d) Bank
10. In the hierarchal model records are organized as:
a) Tree b) Graph c) List d) Structures
OPERATING SYSTEM AND NETWORKING
Question 2: Each question has four possible answers. Tick the correct answer: 10

1. The HTTP and FTP protocols operate at which layer of the OSI model?
a) Application Layer b) Transport Layer c) Session Layer d) Network Layer
2. In a multithreaded application, what do threads share within the same process?
a) Registers b) Heap Memory c) Program Counter d) All of these
3. Which layer of the OSI model deals with segmenting and reassembling data packets?
a) Application Layer b) Transport Layer c) Session Layer d) Network Layer
4. Which term refers to a situation in which a thread is waiting for a resource that is held by
another thread, resulting in both threads being unable to proceed?
a) Deadlock b) Live lock c) Starvation d) Race condition
5. What is the purpose of an 'interrupt' in an operating system?
a) To stop a running process b) To request system services
c) To allocate memory d) To manage file operations
6. DML is provided for _________.
a) Increased security b) Improved resource utilization
c) Reduced memory consumption d) Enhanced process isolation
7. Which layer of the OSI model is responsible for logical addressing and routing?
a) Application Layer b) Transport Layer c) Session Layer d) Network Layer
8. Which process scheduling algorithm aims to minimize the average waiting time of processes?
a) Round Robin b) Shortest Job First
c) First Come First Serve d) Priority Scheduling
9. What is a process in an operating system?
a) A program in execution b) A collection of files
c) A system call d) A hardware component
10. What is the purpose of the 'scheduler' in an operating system?
a) Manages input/output operations b) Manages memory allocation
c) Controls process execution d) Handles file management

You might also like