Skip to content
Past paper

Jahangirnagar University — Department of CSE — Admission: 2015 (PMSCS Program)প্রশ্ন ও সমাধান

Set by
Jahangirnagar University
Exam date
2015
Questions
7 (0 MCQ, 7 written)
Exam guide
M.Sc. admission (CSE and ICT) · এমএসসি ভর্তি (সিএসই ও আইসিটি)
  • Networking · নেটওয়ার্কিং 3
  • Database · ডেটাবেজ 2
  • Mathematics · গণিত 1
  • Programming · প্রোগ্রামিং 1
Written question 1Database

Distinguish between database schema and instance.

Model answer

A database schema is the fixed logical design/blueprint of a database (tables, columns, data types, keys, constraints, relationships), while a database instance is the actual data stored at one particular moment — a snapshot that changes constantly.

Analogy: the schema is like a house's architectural blueprint (rarely changes); the instance is like the furniture and people inside the house right now (changes every minute).

Aspect Schema Instance
What it represents Structure / design of the database Actual data present at a given time
Also called Intension of the database Extension (state) of the database
Frequency of change Rare — only via DDL (ALTER, CREATE) Continuous — every INSERT/UPDATE/DELETE
Analogy Type definition / class Object / row values
Example STUDENT(roll INT, name VARCHAR(30), dept VARCHAR(20)) (101, "Rahim", "CSE"), (102, "Karim", "EEE")
erDiagram
    STUDENT {
        int roll PK
        string name
        string dept
    }

The diagram above is the schema. The instance is the set of rows it currently holds, e.g. {(101, Rahim, CSE), (102, Karim, EEE)} — if a new student is admitted the instance changes immediately, but the schema (the table's structure) stays the same.

Exam takeaway: Schema = structure (invariant), Instance = data (variant) — a schema is defined once at design time; an instance is the live state of the database and changes with every transaction.

Written question 2Networking

What is the main problem with MAC address-based communication over the Internet instead of IP address?

Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Written question 3Database

What is SQL? Classify SQL statement in three categories.

Model answer

SQL (Structured Query Language) is the standard declarative language used to define, manipulate, control access to, and query data stored in a relational database. Almost every RDBMS (MySQL, Oracle, PostgreSQL, SQL Server, etc.) implements SQL as its core interface language.

SQL statements are classified into three broad categories:

Category Full Form Purpose Key Commands
DDL Data Definition Language Defines/modifies the database's structure CREATE, ALTER, DROP, TRUNCATE
DML Data Manipulation Language Manipulates the data stored inside tables SELECT, INSERT, UPDATE, DELETE
DCL Data Control Language Controls access rights/permissions GRANT, REVOKE

Examples:

-- DDL: define structure
CREATE TABLE Student(roll INT PRIMARY KEY, name VARCHAR(30));
ALTER TABLE Student ADD dept VARCHAR(20);

-- DML: work with data
INSERT INTO Student VALUES (101, 'Rahim', 'CSE');
SELECT * FROM Student WHERE dept = 'CSE';
UPDATE Student SET dept = 'EEE' WHERE roll = 101;
DELETE FROM Student WHERE roll = 101;

-- DCL: manage privileges
GRANT SELECT ON Student TO 'analyst';
REVOKE SELECT ON Student FROM 'analyst';

Note (bonus, beyond the three asked): many textbooks also identify a fourth category, TCL (Transaction Control Language) — COMMIT, ROLLBACK, SAVEPOINT — used to manage the atomicity of a group of DML statements.

Exam takeaway: DDL shapes the schema, DML works the data, DCL manages permissions — remembering "Define → Manipulate → Control" fixes the order.

Written question 4Networking

What is a WiMAX? Write down the name of OSI model.

Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Written question 5Networking

Define the Bandwidth and Latency.

Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Written question 6Programming

What is the difference between WHILE and DO WHILE statements?

Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Written question 7Mathematics

Suppose a=2, b=8. Find their arithmetic mean and geometric mean.

Sign up free to see the model answer · উত্তর দেখতে বিনামূল্যে সাইন আপ করুন

Question text is from the public recruitment exam; answers and explanations are written by ARBS Academy. All past papers · M.Sc. admission (CSE and ICT) guide