Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
16 views14 pages

Comp Notes12th

The document covers various topics in computer science, focusing on data basics, database concepts, and programming in C. It includes short and long questions that address fundamental concepts such as data processing, database design, data integrity, and programming constructs. The content is structured into chapters, each detailing specific aspects of computer science, databases, and programming methodologies.

Uploaded by

usmanghani21115
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)
16 views14 pages

Comp Notes12th

The document covers various topics in computer science, focusing on data basics, database concepts, and programming in C. It includes short and long questions that address fundamental concepts such as data processing, database design, data integrity, and programming constructs. The content is structured into chapters, each detailing specific aspects of computer science, databases, and programming methodologies.

Uploaded by

usmanghani21115
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/ 14

Computer Science (Part II)

Ch # 1 DATA BASICS
Short Questions:

1. What is the difference between data and information?


2. Define data capturing.
3. What do you know about retrieval?
4. Define file, record and field.
5. Describe the file usage point of view.
6. Describe the file types functional point of view
7. How do we organize files on storage media?
8. What is data redundancy?
9. Define data inconsistency.
10. Which facilities are provided by database system.
11. Explain different objective of the database.
12.Define the following terms: Shareability, Availability and Evolvability.
13.What is Query language?
14.Define utilities.
15.What is the use of DDL?
16.What is the use of DML?
17.What is the use of DCL?
Long Questions:
1. Define data processing. What activities are involved in the data processing? Discuss in detail.
2. What is file processing system? Which problems were faced in traditional file approach in processing
information. (Imp)
3. Define database system. What are four major components of database systems? Write in detail.
4. Define database model. Describe different types of database model. (Imp).
5. Discuss different features of database management system. (Imp)
6. Briefly describe the advantages and disadvantages of DBMS. (Imp)

1
Computer Science (Part II)
Ch # 2 BASIC CONCEPT AND
TERMINOLOGY OF DATABASE
Short Questions:

1. Differentiate between fixed-length field and variable -length field.


2. How the data is stored and retrieved in file management system (FMS).
3. How the tables/ relation is formed up in DBMS?
4. Write down the properties of relations. Any 2.
5. What is a view? (22A)
6. How view is created?
7. Define primary key and also write important rules for primary key.
8. Write a short note on, User or End User, Data Administrator and Database Administrator.
9. Discuss the data manipulation in DBMS system.

Long Questions:
1. What is a key? Describe different types of keys used in databases. (Imp)

2
Computer Science (Part II)
Ch # 3 DATABASE DESIGN PROCESS
Short Questions:
1. Write a short note on feasibility report?
2. Define Entity, Attribute.
3. Discuss different types of relationship. Any 2.
4. Explain the concept of cardinality.
5. Explain the concept of modality.
6. What is an ER diagram.
7. Define Normalize the relation.
8. What is the use of data volume and usage analysis?
9. How database integrity maintained?
10. Distinguish between entity class and an entity instance.
11. Write any three constrains for selecting file organization.
12. Why is requirement analysis is conducted?
13. Briefly describe the implementation phase.

Long Questions:
1. What is data modeling? What are the ingredients of data modeling?
2. What is an ER diagram? Give an example of ER diagram. (Imp)
3. Briefly describe the database design process with the help of diagram. (Imp)
4. Explain components of logical model in detail. (Imp)
5. Briefly describe basic data distribution strategies. (Imp)

3
Computer Science (Part II)
Ch # 4 DATA INTEGRITY AND
NORMALIZATION
Short Questions:
1. What is data integrity?
2. What is entity integrity?
3. How do we do to attain entity?
4. What is referential integrity?
5. How referential integrity can be achieved?
6. Define Synonym and Homonym.
7. What is the mutual exclusiveness of data?
8. What are database anomalies?
9. What is insertion, deletion and modification anomaly?
10. What is functional dependency?
11. Define 1NF, 2NF and 3NF.
12. What is partial dependency?
13. What are the conditions for a relation to be in 2NF.
14. What is transitive dependency?
15. What is repeating group?

Long Questions:
1. Normalization and its types

4
Computer Science (Part II)
Ch # 5 INTRODUCTION TO
MICROSOFT ACCESS
Short Questions:
1. What is MS Access?
2. What is an IDE?
3. Write advantages and disadvantages of IDE.
4. What is meant by RDBMS?
5. How is MS Access started or loaded?
6. What is database wizard?
7. Write a procedure to open an existing database in MS Access.
8. What is the procedure of exiting MS Access.
9. Define the following terms: Title bar, Menu, Scroll bar and status bar.
10. Differentiate between Tool bar and Menu bar.
11. Describe the database window in MS Access.
12. What is database object?
13. How is a query written.
14. Differentiate between forms and report.
15. Write advantage and disadvantages of forms.
16. Write advantages and disadvantages of report.
17. How does a database differ from a table?

5
Computer Science (Part II)
Ch # 6 TABLE AND QUERY
Short Questions:
1. Write characteristics of table.
2. Define degree of a relation and cardinality of a relation.
3. What are two table views available in MS Access? Or differentiate between Design view and
Datasheet view.
4. What is hyperlink?
5. Briefly describe field name, data type and description.
6. What is field property?
7. Define input masks.
8. Define field validation rules.
9. What is the procedure of creating table by entering data?
10. Write the procedure for freezing and hiding column.
11. What is the use of spell checker and auto correct.
12. What is relationship.
13. What is sorting.
14. Explain cascade update and cascade delete option in MS Access.
15. Define filter.
16. Differentiate between filter by selection and filter by form.
17. What is query?
18. Write the advantages of query.
19. Explain the procedure for executing a saved query.
20. Explain criteria in a query?
21. Difference between relationship and join.
22. Define different types of calculation in a query and also specifies some functions

Long Questions:
1. Explain different data types available in MS Access. (Imp)
2. What is field property? Discuss different field properties in detail.
3. Discuss different method of modifying a table.
4. What is filter? Discuss different types of filters in MS Access. (Imp)
5. What is query? Discuss different types of queries. (Imp)

6
Computer Science (Part II)
Ch # 7 FORMS AND REPORT
Short Questions:
1. What is a form?
2. Describe any two advantages of forms.
3. Define types of forms.
4. Write the procedure to edit records through forms.
5. Define grid lines.
6. What is Label/Object Alignment?
7. Differentiate between List boxes and Combo boxes.
8. Define checkbox.
9. What is the process of radio button?
10. What is linking?
11. What is command button?
12. What is a sub form?
13. List different methods of creating sub forms.
14. How would you describe conditional formatting?
15. What is report? Discuss its uses.
16. What are the standard types of reports in MS Access?
17. What is the difference between forms and report?
18. What is a switchboard?
19. How is a form constructed?

7
Computer Science (Part II)
Ch # 8 GETTING STARTED WITH C
Short Questions:
1. What is program.
2. Define programming language.
3. Who is programmer?
4. Differentiate between high level language and low-level language.
5. Define machine language.
6. Justify machine languages are machine dependent.
7. Why assembly language are called mnemonics?
8. Define syntax and syntax error.
9. Describe any two characteristics of high-level language.
10. What is machine independence.
11. Difference between source code and object code.
12. What is the difference between compiler and interpreter?
13. Define the following terms: Modularity.
14. Why C language is case sensitivity?
15. List two reasons why it would be preferable to a write program in C language rather than
machine language.
16. Write a note on Turbo C++.
17. Differentiate between linker and loader.
18. What is the difference between “.c” and “.cpp” extensions.
19. Briefly describe the basic structure of a C program.
20. What is preprocessor directive?
21. How would you differentiate between Include preprocessor and Define preprocessor.
22. Explain main function used in C program.
23. What do you know about C statements?
24. Differentiate between Bug and Debugging.
25. Which error is most difficult to detect?
26. Define the following terms: Single Stepping, Watches, Breakpoints and Evaluate.
27. What is the difference between unstructured and structured programming languages?

Long Questions:
1. Explain programming language and also differentiate its types. OR Explain the difference
between high level language and low-level language. (imp)
2. Describe language processors or translators and their uses. Discuss different types of language
processor.
3. Write some advantages or characteristics of C language. (imp)
4. How would you create, edit, compile, link and execute a C program? Discuss briefly (imp)
5. What necessary steps and taken to prepare a C program. Explain with diagram. (imp)
6. While writing a C program, how many types of errors can occur? Discuss briefly. Which one is
the most difficult to locate and remove? Justify your answer. (imp)

8
Computer Science (Part II)
Ch # 9 ELEMENT OF C LANGAUGE
Short Questions:
1. What is an identifier?
2. Discuss some rules of identifiers.
3. Differentiate between standard identifier and user-defined identifier.
4. What do you know about keyword in C language?
5. Define variable and also write its purpose.
6. Differentiate between variable declaration and variable initialization with example.
7. Define constant.
8. What are datatypes? List different categories of data types in C language.
9. What is the difference between user-defined datatype and standard datatype.
10. Describe the concept of overflow and underflow with example.
11. Describe different problems that may occur while working with floating point numbers.
12. Write some important rules about exponential notation.
13. Describe character data type of C language.
14. What is expression? Give some examples.
15. Explain some important points about modulus operator.
16. Briefly explain the working of division operator.
17. What is meant by data type of an expression.
18. Describe assignment statement.
19. Describe L value and R value.
20. Differentiate between unary and binary operator.
21. Describe compound assignment statement.
22. Describe compound assignment operator.
23. Define increment and decrement operator.
24. Explain operator precedence with example.
25. Describe comments and their use in C language.
26. Differentiate between implicit type casting and explicit type casting.

Exercise:
1. Part: 2 writing the code complete.
2. Part: 3 Determining the output complete.
3. Part: 4 Finding the Errors complete.
Long Questions:
1. Define variable and also write down the rules for naming variable in C language with examples.
(imp)

9
Computer Science (Part II)
Ch # 10 INPUT AND OUTPUT
Short Questions:
1. What do you mean by standard input and standard output.
2. Define “printf” with example.
3. Define format string.
4. What is argument list?
5. What is format specifier?
6. How integer values are printed in C language?
7. How floating-point values are printed in C language?
8. Explain the use of field width specifiers in C language.
9. Explain specifying field width.
10. How can you print character values in C language?
11. How string value in displayed in C language.
12. What are escape sequences?
13. Define “scanf” with example.
14. What is character input?
15. How would you differentiate between “getch” and “getche” function.
16. Explain the working of “gets” function.
17. Define “puts” function.
18. What do you know about “clrscr” function?
19. Explain the use of “sizeof” operator?

Exercise:
1. Part: 2 writing the code complete.
2. Part: 3 Determining the output complete.
3. Part: 4 Finding the Errors complete.

10
Computer Science (Part II)
Ch # 11 DECISION CONSTRUCTS
Short Questions:
1. Define control structure?
2. Explain the selection structure with example.
3. How does a selection structure select a statement to execute?
4. Define if-else and switch structure.
5. What is “if” statement?
6. Draw flowchart of “if” statement.
7. What is the limitation of simple “if” statement?
8. Explain “if-else” statement.
9. What is the working of if-else-if statement.
10. What do you know about nested if?
11. Compare nested-if with sequence of if statements with an example.
12. Define switch statement.
13. Define case.
14. What is meant by default?
15. What do you know about break statement in switch statement?
16. Differentiate between if-else-if and switch statement?
17. What is conditional operator with an example? OR what is an alternative of if-else-if statement.
18. Write one similarity and one difference between if-else and conditional operator.
19. Define condition and flowchart.

Exercise:
1. Part: 2 writing the code complete.
2. Part: 3 Determining the output complete.
3. Part: 4 Finding the Errors complete.
Long Questions:
1. What is a control structure? Briefly describe the basic control structure for writing programs.
(imp).
2. What is “if” statement OR if statement with one alternative? Explain its working.
3. Explain “if-else” statement OR “if” statement with two alternatives. (imp)
4. What is multiple “if-else-if” statements OR “if” statement with multiple alternatives? Explain its
working. (imp)
5. What is nested “if” statement? Explain its working. (imp)
6. What is “switch” statement? Explain its working with example. (imp)
7. All program.

11
Computer Science (Part II)
Ch # 12 LOOP CONSTRUCTS
Short Questions:
1. Define loop, iterative, repetitive.
2. What is while loop?
3. Draw flowchart of while loop.
4. What are delimiters?
5. Define do-while loop.
6. What is the difference between while and do-while loop?
7. Define for loop. OR what do you know about counter-controlled loop?
8. What is the working of for loop?
9. Explain the differences between a while and for loop.
10. Differentiate between counter-controlled and sentinel-controlled loop.
11. Define sentinel values.
12. What is the general form of sentinel-controlled loop.
13. Write three situations in which sentinel-controlled loop can be used
14. What is “continue” statement? Explain with example.
15. What is “break” statement? Explain with example.
16. What is nested loop?
17. What is “goto” statement? Write its general form.
18. How are instructions executed in repetition structure?
19. Why loops are important in programming languages? Give these reasons.
20. Define infinite loop.

Exercise:
1. Part: 2 writing the code complete.
2. Part: 3 Determining the output complete.
3. Part: 4 Finding the Errors complete.
Long Questions:
1. What is “while” loop? Explain its working with example. (imp)
2. What is do-while loop? Explain its working with example. (imp)
3. What is for loop? Explain its working with example and also draw flowchart and its syntax.
(imp)
4. What is nested loop? Explain its working with example and also draw flowchart and its syntax.
(imp)
5. All program.

12
Computer Science (Part II)
Ch # 13 FUNCTIONS IN C
Short Questions:
1. What is function?
2. List any three benefits of using functions?
3. How does a function make programming easier?
4. What is the difference between user-defined function and built-in function?
5. Define function header.
6. Define function body.
7. What is function declaration or function prototype.
8. What is function definition?
9. What is difference between function definition and function declaration?
10. What is function call?
11. How does a function return value?
12. What is the use of parameter in function.
13. What is the use of actual parameter?
14. What is the use of formal parameter?
15. Differentiate between actual parameter and formal parameter.
16. What is the difference between local and global variable.
17. What is the life time of local variable.
18. What is the scope of local variable.
19. What do you know about life time of global variable? How long the global variable exists in the
memory.
20. Explain scope of global variable.
21. How is a function activated?

13
Computer Science (Part II)
Ch # 14 FILE HANDLING IN C
Short Questions:
1. Define a stream.
2. What do you mean by text stream?
3. What is binary stream?
4. Compare text stream and binary stream.
5. Which access method can access the data directly?
6. What is text file?
7. What is Newline marker?
8. Do you know the type of variable that stores memory address?
9. What is the use of file pointer?
10. What is a string?
11. What do R+ and A+ means in files?
12. What is meant by fgets () functions?
13. Write the prototype of fopen function used for opening a file.
14. How is a file closed?
15. List any three ways to write data in text file.
16. Describe the purpose of file handling.

14

You might also like