Computer Notes 12th
Computer Notes 12th
CHAPTER # 1
Data Basics
Q1: Differentiate btw data & information. Q1: Define data processing. What activities are
Q2: What is Data? involved in data processing? Discuss in detail
Q3: What is information? Q2: What is file processing system? Discuss
Q4: what do you know about data processing? three problems/ disadvantages of traditional file
Q5: List different activities involved in data processing. processing.
Q6: Define Data Capturing. Q3: Describe the file by usage and functional
Q7: Data Manipulation. point of view in detail?
Q8: Differentiate btw master file & transaction file. Q4: What is file? Explain file by Storage point of
Q9: Write down the name of file from usage point of view. view.
Q10: What is difference btw program file & data file? Q5: Define Database. Write down four major
Q11: list file types from storage point of view. component of database system in detail.
Q12: What is meant by file organization?
Q6: Define database. Discuss the objective of
Q13: how data is stored in files?
database system.
Q14: Define database.
Q7: Define database model. Describe the
Q13: what do you mean by data independence?
different Database Model.
Q14: Write three examples of database system.
Q15: What is difference btw file and database? Q8: Write down the objective of DBMS.
Q16: What is basic purpose of data integrity? Q9: Describe the feature of Database
Q17: Define data integration. management system.
Q18: Why hierarchical Model Considered like an
Q10: Advantages and Dis Advantages of DBMS.
organization chart?
Q19: What is Database Model?
Q20: list different types of database Model.
Q21: what is basic difference between hierarchical and
network model?
Q22: Differentiate btw database and DBMS.
Q23: Define DBMS.
Q24: what is meant by data redundancy?
Q25: why is report generator used in database?
Q26: What is data dictionary?
Q27: Define DDL
Q28: Define DML.
Q29: Define DCL.
Q30: Define SQL
Q31: Define Indexed Sequential File.
COMPUTER SCIENCE (2ND YEAR)
CHAPTER # 2
Basic Concept and Terminology of Database
Q1: Define data handling in file management system. Q1: What is FMS? Write down the Details of
Q2: Define the term table/relation. Field , Record , File .
Q3: Describe any two properties of table/relation. Q2 What is table or relation? Write down the
Q4: What is an attribute? Give example. properties of relation.
Q5: Define file, record and field.
Q3: What is key? Describe the different types
Q6: Define Entity?
of keys used in database.
Q7: What is user or End user?
Q8: State the purpose of index file.
Q9: What is View? Purpose of using Views? How to Write
Views?
Q10: Write the responsibilities of DBA in database system.
Q11: Write the responsibilities of Data administrator (DA).
Q12: Write the purpose of indexes.
Q13: Define primary key.
Q14: Define secondary key.
Q15: Define foreign key.
Q16: write down the Function of Key.
Q17: Write a note on composite key.
Q18: Define Alternate key.
Q19: what is candidate key?
Q20: Define Sort Key.
Q21: Define Data Manipulation in DBMS.
COMPUTER SCIENCE (2ND YEAR)
CHAPTER # 3
Database Design Process
Q1: What is the purpose of feasibility study? Q1: Discuss Different steps involved in Analysis
Q2: How is data analysis performed? stage while designing data base.
Q3: which activities are involved in data analysis? Q2: What is data modeling? Explain different
Q4: What is project planning? ingredients of data modeling.
Q5: Define entity.
Q3: What is ER diagram? Give an example of ER
Q6: what is attribute?
diagram.
Q7: Define the term cardinality of relation.
Q8: Define Modality. Q4: what is database design? Briefly explain
Q9: How can you define relation in ER diagram? the database design process with the help of
Q10: Differentiate between cardinality & Modality. diagram.
Q11: list down different type of relationship. Q5: Write down the different components of a
Q12: define data modeling. logical database design model.
Q13: What is ER diagram?
Q14: Define implementation in database. Q6: Explain physical database design process.
Q15: what is purpose of logical database design? Q7: Briefly describe basic data distribution
Q16: What is Physical database design? strategies?
Q17: Write down the different phases of logical database
design.
Q18: List any four component of physical database design.
Q19: List down the data distribution strategies.
Q20: Define integrity constraints.
Q21: what do you know by file organization?
COMPUTER SCIENCE (2ND YEAR)
CHAPTER # 4
Data integrity and Normalization
Q1: What is Data integrity? Q1: What is data integrity? Explain its types.
Q2: What is entity integrity? How to attain it? Q2 : What type of a problem may exist in a
Q3: Define Referential integrity. How to attain it? relation before Normalization?
Q4: what is meant by Normalization?
Q5: Define full Functional dependency. Q3 : Define Data base Anomalies and their
types.
Q6: What is transitive dependency?
Q7: What is repeating group? Q4: What is normalization? What is first
Q8: what is 1NF? normal form? Explain in detail.
Q9: Define second normal form.
Q5: What is normalization? Explain second
Q10: When is the relation is in first normal form?
normal form with example.
Q11: Write down the condition for a table to be in 2NF.
Q12: What is Partial dependency? Q6: Define normalization? Explain the third
Q13: What is third normal form? normal form.
Q14: What type of anomalies occurred due to transitive
dependency?
Q15: Define synonyms.
Q16: Define Homonym.
Q17: What is meant by redundancy?
Q18: What are Mutually Exclusive Data?
Q19: What are database anomalies?
Q20: Define insertion anomaly.
Q21: What is deletion anomaly?
Q22: what is modification / update anomaly?
Q23: What is Transitive dependency?
COMPUTER SCIENCE (2ND YEAR)
CHAPTER # 5
Introduction to MS Access
Q1: What is meant by degree of relation? Q1: How would you define table? Also write
Q2: What is meant by cardinality of relation? Characteristics of table.
Q3: How many views in Access? Q2: What are two Table Views Available in MS
Q4: Define field. Access? How you can switch between them
Q5: Write down two characteristics of table.
Q3: What are field Properties? Explain at least
Q6: List three methods for creating table?
three field properties with an example.
Q7: Describe the use of design view in MS-Access.
Q8: Define Datasheet view. Q4: Explain the different Types of data types
Q9: How database is created in design view? available in MS- Access.
Q10: List out different data type available in MS-Access.
Q5: Describe different methods of modifying
Q11: What is Primary key? tables.
Q12: Define datasheet view.
Q13: How database is created in design view? Q6: What is filter? Discuss different types of
Q14: What is referential integrity? filters in MS-Access.
Q15: Write use of OLE objects in MS-Access. Q7: What is Query? Discuss different types of
Q16: What is use of input mask? queries. Also explain use of Wild Cards in
Q17: write two differences btw relationship and join. Query.
Q18: What is meant by filter?
Q8: What is Query? Write advantages of
Q19: what is difference btw sorting & filters?
Query.
Q20: Define query.
Q21: Define parametric query.
Q22: How record is stored in a query?
Q23: Name different types of queries use in database.
Q24: What do you know about select query?
Q23: What is difference btw cross tab and parametric query?
Q24: What is query wizard?
Q25: Write down some uses of query. Or advantages.
Q26: Differentiate between update and append query.
Q27: What is use of Wild Card?
COMPUTER SCIENCE (2ND YEAR)
CHAPTER # 7
MS-Access Forms & Reports
Q1: What is form? Q1: What is form? Explain its uses and
Q2: What is Columnar Form? advantage
Q3: Write a note on Tabular form? Q2: Discuss different option for editing form in
Q4: What do you know about datasheet form? MS Access.
Q5: Why form object of database is used?
Q3: What is report? Briefly explain its Types
Q6: How is Form constructed?
and advantages
Q7: Write down some advantages of form?
Q8: List different types of forms in MS-Access.
Q9: What is sub form?
Q10: What are the uses of List Box?
Q11: Describe Radio Button?
Q12: Differentiate btw form and sub form?
Q13: What is Check Box?
Q14: How is combo box used?
Q15: List any five Buttons available on Access database
window?
Q16: Difference between combo box and list box.
Q17: What is difference btw form and reports?
Q18: Write down some uses of reports.
Q19: How is report created by using wizard?
Q20: Define Report.
Q21: List any two advantages of using reports.
Q22: Define conditional Formatting?
Q23: What is linking?
Q24: Write the use of switchboard?
COMPUTER SCIENCE (2ND YEAR)
CHAPTER # 8
Getting started with C
Q1: Differentiate btw Structured and Unstructured Q1: What is programming language? Explain its
Languages. types.
Q2: Differentiate btw source code and object code. Write common characteristics of C Language
Q3: Give any four examples of High-level Languages. and all high-level program languages.Q2: How
Q4: What do you mean by machine independence? would you define High level language?
Q5: Why source code cannot be executed directly?
Q6: What is assembly language? Q3: Write the detail Steps of Writing a program
in C language for Execution. Explain it with
Q7: Define low level language.
Diagram.
Q8: Define Program.
Q9: write down the use of Turbo C++ compiler. Q4: What is the basic structure of c program?
Q10: Define IDE of turbo C++. Discuss in detail.
Q11: Why main Function is important in every C language
Q5: What is debugging? Explain all different
Program.
types of errors uncovered by debugging
Q12: What is the usage of loader.
Process?
Q13: Define linker
OR Q6 : What is Difference between Structured and
How executable file is created? Un Structured Programming Languages.
Q14: Write shortcut keys for Compiling and Running
program in C.
Q15: Write shortcut key for saving the C program.
Q16: what is difference btw linker and loader?
Q17: Write the use of define directive.
Q18: distinguish btw compiler and interpreter.
Q19: Define header file.
Q20: What is the purpose of # sign?
Q21: Define main () function.
Q22: write down the use of delimiter.
Q23: Write two uses of preprocessor directives.
Q24: Define statement terminator.
Q25: Define include directive.
Q26: What is constant Macro?
Q27: What is C-statement?
Q28: Why C is known as Strongly typed language.?
Q29: Define bug and debugging.
Q30: What is Syntax error?
Q31: Define logical error.
Q32: Which type of error is difficult to trace and why?
Q33: What do you know about run time error?
Q34: What is the purpose of compiler?
COMPUTER SCIENCE (2ND YEAR)
CHAPTER # 9 Elements of C
Short Question: Q30: Trace output
printf(“Pakistan \t is \n my\t homeland”);
Q1: What is identifier? Define Types. Q31: Compare unary and binary operator.
Q2: Difference between are and “area” in C. Q32: What will be the value of following code
Q3: Define Type Castting? printf(“%d”, ‘a’+’b’);
Q4: Define keywords in C-Language. Q33: Rewrite the statement x-=2 without
Q5: Give two examples of standard identifier. compound assignment operator.
Q6: Write the legal character for an identifier. Q34: What is use of increment operator?
Q7: Write C statement to declare integer variable x and Q35: rewrite the expression n++ without using
assign any value to x. increment operator.
Q8: What is garbage Value? Q36: What is prefix and postfix increment
Q9: Differentiate btw declaring and defining a variable. operator?
Q10: What is variable? Q37: What is decrement operator?
Q11: what is mean of declaring a variable? Q38: What is meant by operator precedence?
Q12:]Write down the C-Statement that initialize character Q39: Determine the output of following codes
ch1,ch2,ch3 in one line. a) Int m,n,k;
Q13: What is meant by initializing a variable? m= 15, n=20;
Q14: Trace the error from following code k= m+n;
printf(“k=%d”, --k);
Int room #;
b) Int x=10;
printf(“%d”,5)
y=++x;
Q15: Differentiate btw character constant and string.
x=--y;
Q16: Write down Three rules for naming a variable.
printf(“%d”, y);
Q17: What is Constant? c) Int n,a,b;
Q18: Write a note on long double type. n= 400;
Q19: List any two data type in C Language. a=n%100;
Q20: Find error b=n/10;
Int a=5 printf(“Result=%d %d”a,b);
Int double= 20; Q40: What will the value of x and y.
printf(“Result = %d”, double) Int x=7;
Q21: Determine the output.
Y=x++;
Int x=7;
Q41: Define expression.
Int y=3;
printf( “%d and %d”, x/y, x%y); Q42: What are comments?
Q22: Predict the output of following code. Q43: Define arithmetic expression.
Int x=13; Q44: Define Lvalue and Rvalue.
Int y=3; Q45: What will be the value of x if
printf(“%d and %d”, x/y, y/x, x%y); X=1+2%3-3;
Q23: Give Examples of Valid and invalid Variables names. LONG Question:
Q24: Write a note on arithmetic operator.
Q25: What is relational operator? Q1 : Define Identifiers.
Q26: Write a note on assignment operator. Q 2 : Write down the Rules for naming
Q27: Define a logical operator in C-Language.
Variable in C
Q28: Define compound condition.
Q29: what is Associativity of Operators? Q3 : Define Operators.
COMPUTER SCIENCE (2ND YEAR)
CHAPTER # 10
Input and output