PAK FOUNDATION ACADEMY

ICS part II Computer (Full Book)

Total Time: 1hr 30 min                                                                                       Total marks: 60

SHORT QUESTIONS
Q1.  Attempt any ten questions [2*10=20] 

  • Define field.
  • Differentiate b/w Data redundancy and inconsistency
  • Differentiate b/w master file and transaction file.
  • Differentiate between fixed-length & variable length field?
  • List different properties of a relation.
  • What is one-to-one relationship? Give an example.
  • What is ER diagram? 
  • How is referential integrity achieved?
  • What is synonym?
  • Differentiate b/w partial dependency & transitive dependency.
  • Define the term RDBMS.
  • Differentiate b/w Form &Report.
  • Differentiate b/w degree and cardinality of a relation
  • Define join.
  • Write down different methods of creating sub-forms.
Q2.  Attempt any ten questions [2*10=20] 

  1. What is the difference between machine language and assembly language?
  2. Distinguish between source code and object code?
  3. What is the process of linking in C program?
  4.  Differentiate between pre-processor directives & header file.
  5. What is an identifier? Give some example of identifier.
  6. What do you mean by Case-sensitive language?
  7. What is keyword? Give some example.(list any four keyword)
  8.  Differentiate b/w declaring & defining a variable?
  9. List any two differences b/w Constant & Variable?
  10.  What is arithmetic expression?
  11. What is the use of decrements operator?
  12. What is the difference b/w implicit & explicit type casting? 
  13. What is format specifier?
  14.  Define escape sequence with example?
  15.  Differentiate between printf() scanf() function?
 Q3.  Attempt any ten questions [2*10=20]
  1. How instructions are executed in sequence structure?
  2. Write use of if-else if statement?
  3. Define compound statement?
  4. When you must use curly braces {} with selection structure?
  5. Write a C statement that assign 1 to the variable y if the value of variable x is greater than 0 otherwise -1 to the variable y?
  6. Define do-while loop?
  7. Write the syntax & draw the flowchart of do while loop both for single and multiple line statements?
  8. Briefly explain “for” statement/ Define for loop/ Define counter controlled loop?
  9. Distinguish between break and continue statements used in loops?
  10. What is goto statement/ what is the use of goto statement?
  11. Define function? Define the term function?
  12. What is meant by function declaration/function prototype?
  13. What is life time of global variable?
  14. What is the use of file pointer?
  15. Which functions are used to read & write string to a file?