SlideShare a Scribd company logo
1 of 6
FAZAIA INTER COLLEGE LAHORE CANTT A1
SEND UP EXAMINATION DEC, 2017 (Lahore Board)
Subject: Comp. Sc. Time allowed: 20 mins
Class: XII Max. Marks : 15
Name: ________________ Roll No: _____________ Section:
________
OBJECTIVE
SECTION – A
Q1. Circle the correct option i.e. A/B/C/D. Each part carries one mark only.
(i) The linker combines different library files to the ____________.
(A) executable file (B) source file
(C) object file (D) output file
(ii) Which of the following key is used to save a file?
(A) F2 (B) F3
(C) F5 (D) F9
(iii) Void occupy how many bytes in memory?
(A) zero (B) one
(C) two (D) four
(iv) Increment and decrement operators are ______________.
(A) bitwise operator (B) assignment operator
(C) unary operator (D) binary operator
(v) Which of the following is valid character constant?
(A) a (B) “b”
(C) ‘6’ (D) =
(vi) x-=y+1 means ______________
(A) x=x-y+1 (B) x=-x-y=1
(C) x=-x+y+1 (D) x=x-y-1
(vii)The ___________ statement switches the control outside the block in which it is
used.
(A) switch (B) case
(C) if (D) break
(viii) Formal arguments are also called _____________.
(A) actual arguments (B) original arguments
(C) dummy arguments (D) referenced arguments
(ix) The actual parameters are passed to a function in __________.
(A) function prototype (B) function calling
(C) function definition (D) none of the above
(x) On successfully closing a file, the fclose() returns ___________.
(A) NULL (B) 0 (zero)
(C) 1 (one) (D) FILE POINTER
(xi) An array subscript should be ___________.
(A) float (B) double
(C) int (D) an array
(xii)Which of the following type of file require largest processing time?
(A) sequential file (B) indexed sequential file
(C) random file (D) direct access file
(xiii) CREATE command is used to create a _________.
(A) table (B) view
(C) report (D) query
(xiv) A label is meaningful only to a _________________ statement.
(A) if (B) break
(C) if –else (D) goto
(xv)Database development process involves mapping of conceptual data model into:
(A) object oriented data model (B) network data model
(C) implementation model (D) hierarchical data model
FAZAIA INTER COLLEGE LAHORE CANTT A2
SEND UP EXAMINATION DEC, 2017 (Lahore Board)
Subject: Comp. Sc. Time allowed: 20 mins
Class: XII Max. Marks : 15
Name: ________________ Roll No: _____________ Section:
________
OBJECTIVE
SECTION – A
Q1. Circle the correct option i.e. A/B/C/D. Each part carries one mark only.
(i) The ___________ statement switches the control outside the block in which it is
used.
(A) switch (B) case
(C) if (D) break
(ii) Formal arguments are also called _____________.
(A) actual arguments (B) original arguments
(C) dummy arguments (D) referenced arguments
(iii) The actual parameters are passed to a function in __________.
(A) function prototype (B) function calling
(C) function definition (D) none of the above
(iv) On successfully closing a file, the fclose() returns ___________.
(A) NULL (B) 0 (zero)
(C) 1 (one) (D) FILE POINTER
(v) An array subscript should be ___________.
(A) float (B) double
(C) int (D) an array
(vi) Which of the following type of file require largest processing time?
(A) sequential file (B) indexed sequential file
(C) random file (D) direct access file
(vii) CREATE command is used to create a _________.
(A) table (B) view
(C) report (D) query
(viii) A label is meaningful only to a _________________ statement.
(A) if (B) break
(C) if –else (D) goto
(ix) Database development process involves mapping of conceptual data model
into:
(A) object oriented data model (B) network data model
(C) implementation model (D) hierarchical data model
(x) x=y+1 means ______________
(A) x=x-y+1 (B) x=-x-y=1
(C) x=-x+y+1 (D) x=x-y-1
(xi) The linker combines different library files to the ____________.
(A) executable file (B) source file
(C) object file (D) output file
(xii) Which of the following key is used to save a file?
(A) F2 (B) F3
(C) F5 (D) F9
(xiii) Void occupy how many bytes in memory?
(A) zero (B) one
(C) two (D) four
(xiv) Increment and decrement operators are ______________.
(A) bitwise operator (B) assignment operator
(C) unary operator (D) binary operator
(xv) Which of the following is valid character constant?
(A) a (B) “b”
(C) ‘6’ (D) =
FAZAIA INTER COLLEGE LAHORE CANTT
SEND UP EXAMINATION DEC, 2017 (Lahore Board)
Subject : Comp. Sc. Time allowed: 2 Hrs 40
mins
Class : XII Max. Marks: 60
Section-I
Q No 2: Attempt any SIX parts. All parts carry equal marks. (2 6) = 12
(i) How do we organize the file on storage media?
(ii) What is report generator?
(iii) What is a VIEW? How do we create it?
(iv) Write down the properties of relations.
(v) Briefly explain foreign key.
(vi) What is Data Modeling?
(vii) Briefly explain the term Modality.
(viii) Define the term attribute.
(ix) What is Cardinality?
Q No 3: Attempt any SIX parts. All parts carry equal marks. (2 6) = 12
(i) Differentiate between getch( ) and getche( ).
(ii) Briefly explain between #include directive.
(iii) Differentiate between linker and loader.
(iv) What is compound assignment statement?
(v) Why and where defauly keyword is used?
(vi) Briefly describe the basic control structures for writing programs.
(vii) Write a program that displays the ASCII code of the character typed by the user.
(viii) Write a program to find out the greatest value from the two given values by using
conditional operator.
(ix) Briefly explain the switch statement.
Q No 4: Attempt any SIX questions. All question carries equal marks (2 6) =
12
(i) What is a sential controlled loop?
(ii) Briefly explain do-while loop.
(iii) What is a function prototype?
(iv) What is a coercion of arguments?
(v) What is the lifetime of global variables?
(vi) Write a program to demonstrate the structure of a function.
(vii) Illustrate the difference between text and binary streams.
(viii) What is a file pointer?
(ix) Discuss any four file access modes.
Section-II
Note: Attempt any ONE question. (1 8) = 8
Q5. (a) Briefly describe the different Database Models.
(b) What are the four major components of the Database Systems.
Q6. Explain the following:
a) Physical Data Model
b) Conceptual Data Model
Section-III
Note: Attempt any TWO descriptive answers of the following questions. (2 8) =
16
Q7. Write a program that finds sum of the squares of integers from 1 to n. Where n is a
positive value entered by the user (i.e: sum=12
+22
+32
+…+n2
)
Q8. (a) Briefly explain the function which is used to read strings of characters from a
file.
(b) Define GOTO statement.
Q9. (a) What is return statement?
(b) Write a program that will append records in contact.txt file.
(vi) Briefly describe the basic control structures for writing programs.
(vii) Write a program that displays the ASCII code of the character typed by the user.
(viii) Write a program to find out the greatest value from the two given values by using
conditional operator.
(ix) Briefly explain the switch statement.
Q No 4: Attempt any SIX questions. All question carries equal marks (2 6) =
12
(i) What is a sential controlled loop?
(ii) Briefly explain do-while loop.
(iii) What is a function prototype?
(iv) What is a coercion of arguments?
(v) What is the lifetime of global variables?
(vi) Write a program to demonstrate the structure of a function.
(vii) Illustrate the difference between text and binary streams.
(viii) What is a file pointer?
(ix) Discuss any four file access modes.
Section-II
Note: Attempt any ONE question. (1 8) = 8
Q5. (a) Briefly describe the different Database Models.
(b) What are the four major components of the Database Systems.
Q6. Explain the following:
a) Physical Data Model
b) Conceptual Data Model
Section-III
Note: Attempt any TWO descriptive answers of the following questions. (2 8) =
16
Q7. Write a program that finds sum of the squares of integers from 1 to n. Where n is a
positive value entered by the user (i.e: sum=12
+22
+32
+…+n2
)
Q8. (a) Briefly explain the function which is used to read strings of characters from a
file.
(b) Define GOTO statement.
Q9. (a) What is return statement?
(b) Write a program that will append records in contact.txt file.

More Related Content

Similar to Fic (sendup dec17) cs lb

CXC CSEC Information Technology Multiple Choice Questions
CXC CSEC Information Technology Multiple Choice QuestionsCXC CSEC Information Technology Multiple Choice Questions
CXC CSEC Information Technology Multiple Choice QuestionsElliot Seepaul
 
1. Which of the following is Stack structureA. FIFO (First .docx
1. Which of the following is Stack structureA. FIFO (First .docx1. Which of the following is Stack structureA. FIFO (First .docx
1. Which of the following is Stack structureA. FIFO (First .docxambersalomon88660
 
Specialist marketing officer professional knowledge questions.pdf(1)
Specialist marketing officer professional knowledge questions.pdf(1)Specialist marketing officer professional knowledge questions.pdf(1)
Specialist marketing officer professional knowledge questions.pdf(1)Nivi Mohanty
 
20 basic computer mcqs
20 basic computer mcqs20 basic computer mcqs
20 basic computer mcqsshah ali
 
CAPE Computer Science Unit 1 Paper 1 - Practice Paper
CAPE Computer Science Unit 1 Paper 1 - Practice PaperCAPE Computer Science Unit 1 Paper 1 - Practice Paper
CAPE Computer Science Unit 1 Paper 1 - Practice PaperAlex Stewart
 
Snsw mid-1 & 2 QB.docx.docx
Snsw mid-1 & 2 QB.docx.docxSnsw mid-1 & 2 QB.docx.docx
Snsw mid-1 & 2 QB.docx.docxVijayaDurga81
 
ASP.NET With C# (December – 2017) [Revised Syllabus | Question Paper]
ASP.NET With C# (December – 2017) [Revised Syllabus | Question Paper]ASP.NET With C# (December – 2017) [Revised Syllabus | Question Paper]
ASP.NET With C# (December – 2017) [Revised Syllabus | Question Paper]Mumbai B.Sc.IT Study
 
GUESS FUNDAMENTAL PAPER FOE CCAT Feb 2014
GUESS FUNDAMENTAL PAPER FOE CCAT Feb 2014GUESS FUNDAMENTAL PAPER FOE CCAT Feb 2014
GUESS FUNDAMENTAL PAPER FOE CCAT Feb 2014prabhatjon
 
B.Sc.IT: Semester – V (October – 2012) [Revised Course | Question Paper]
B.Sc.IT: Semester – V (October – 2012) [Revised Course | Question Paper]B.Sc.IT: Semester – V (October – 2012) [Revised Course | Question Paper]
B.Sc.IT: Semester – V (October – 2012) [Revised Course | Question Paper]Mumbai B.Sc.IT Study
 
Problem solving technique & programming in c code 303204 bca 2nd...
Problem solving technique & programming in c   code  303204   bca     2nd...Problem solving technique & programming in c   code  303204   bca     2nd...
Problem solving technique & programming in c code 303204 bca 2nd...umesh singh
 
2009 Punjab Technical University B.C.A Object Oriented Proagramming Language ...
2009 Punjab Technical University B.C.A Object Oriented Proagramming Language ...2009 Punjab Technical University B.C.A Object Oriented Proagramming Language ...
2009 Punjab Technical University B.C.A Object Oriented Proagramming Language ...Monica Sabharwal
 
CS Sample Paper 1
CS Sample Paper 1CS Sample Paper 1
CS Sample Paper 1kvs
 

Similar to Fic (sendup dec17) cs lb (20)

Gate-Cs 1992
Gate-Cs 1992Gate-Cs 1992
Gate-Cs 1992
 
CXC CSEC Information Technology Multiple Choice Questions
CXC CSEC Information Technology Multiple Choice QuestionsCXC CSEC Information Technology Multiple Choice Questions
CXC CSEC Information Technology Multiple Choice Questions
 
1. Which of the following is Stack structureA. FIFO (First .docx
1. Which of the following is Stack structureA. FIFO (First .docx1. Which of the following is Stack structureA. FIFO (First .docx
1. Which of the following is Stack structureA. FIFO (First .docx
 
Specialist marketing officer professional knowledge questions.pdf(1)
Specialist marketing officer professional knowledge questions.pdf(1)Specialist marketing officer professional knowledge questions.pdf(1)
Specialist marketing officer professional knowledge questions.pdf(1)
 
sad.pdf
sad.pdfsad.pdf
sad.pdf
 
Iwt long questions
Iwt long questionsIwt long questions
Iwt long questions
 
Iwt long
Iwt longIwt long
Iwt long
 
20 basic computer mcqs
20 basic computer mcqs20 basic computer mcqs
20 basic computer mcqs
 
CAPE Computer Science Unit 1 Paper 1 - Practice Paper
CAPE Computer Science Unit 1 Paper 1 - Practice PaperCAPE Computer Science Unit 1 Paper 1 - Practice Paper
CAPE Computer Science Unit 1 Paper 1 - Practice Paper
 
Snsw mid-1 & 2 QB.docx.docx
Snsw mid-1 & 2 QB.docx.docxSnsw mid-1 & 2 QB.docx.docx
Snsw mid-1 & 2 QB.docx.docx
 
ASP.NET With C# (December – 2017) [Revised Syllabus | Question Paper]
ASP.NET With C# (December – 2017) [Revised Syllabus | Question Paper]ASP.NET With C# (December – 2017) [Revised Syllabus | Question Paper]
ASP.NET With C# (December – 2017) [Revised Syllabus | Question Paper]
 
ASSIGNMENT
ASSIGNMENTASSIGNMENT
ASSIGNMENT
 
GUESS FUNDAMENTAL PAPER FOE CCAT Feb 2014
GUESS FUNDAMENTAL PAPER FOE CCAT Feb 2014GUESS FUNDAMENTAL PAPER FOE CCAT Feb 2014
GUESS FUNDAMENTAL PAPER FOE CCAT Feb 2014
 
B.Sc.IT: Semester – V (October – 2012) [Revised Course | Question Paper]
B.Sc.IT: Semester – V (October – 2012) [Revised Course | Question Paper]B.Sc.IT: Semester – V (October – 2012) [Revised Course | Question Paper]
B.Sc.IT: Semester – V (October – 2012) [Revised Course | Question Paper]
 
Bcs 011
Bcs 011Bcs 011
Bcs 011
 
Problem solving technique & programming in c code 303204 bca 2nd...
Problem solving technique & programming in c   code  303204   bca     2nd...Problem solving technique & programming in c   code  303204   bca     2nd...
Problem solving technique & programming in c code 303204 bca 2nd...
 
Gate-Cs 1991
Gate-Cs 1991Gate-Cs 1991
Gate-Cs 1991
 
AJP.pdf
AJP.pdfAJP.pdf
AJP.pdf
 
2009 Punjab Technical University B.C.A Object Oriented Proagramming Language ...
2009 Punjab Technical University B.C.A Object Oriented Proagramming Language ...2009 Punjab Technical University B.C.A Object Oriented Proagramming Language ...
2009 Punjab Technical University B.C.A Object Oriented Proagramming Language ...
 
CS Sample Paper 1
CS Sample Paper 1CS Sample Paper 1
CS Sample Paper 1
 

More from Fazaia inter college lahore (20)

Phy hssc-ii-bcd - copy
Phy hssc-ii-bcd - copyPhy hssc-ii-bcd - copy
Phy hssc-ii-bcd - copy
 
Phy hssc-ii-a2
Phy hssc-ii-a2Phy hssc-ii-a2
Phy hssc-ii-a2
 
Phy hssc-ii-a1
Phy hssc-ii-a1Phy hssc-ii-a1
Phy hssc-ii-a1
 
Phy hssc-ii-a1 -a2 copy
Phy hssc-ii-a1 -a2  copyPhy hssc-ii-a1 -a2  copy
Phy hssc-ii-a1 -a2 copy
 
Math hssc-ii-a1
Math hssc-ii-a1Math hssc-ii-a1
Math hssc-ii-a1
 
Math hssc-i-bc
Math hssc-i-bcMath hssc-i-bc
Math hssc-i-bc
 
Math hssc-i-a2
Math hssc-i-a2Math hssc-i-a2
Math hssc-i-a2
 
Math hssc-i-a1
Math hssc-i-a1Math hssc-i-a1
Math hssc-i-a1
 
Eng hssc-ii-bc
Eng hssc-ii-bcEng hssc-ii-bc
Eng hssc-ii-bc
 
Eng hssc-ii-a2
Eng hssc-ii-a2Eng hssc-ii-a2
Eng hssc-ii-a2
 
Eng hssc-ii-a1
Eng hssc-ii-a1Eng hssc-ii-a1
Eng hssc-ii-a1
 
Eng hssc-i-a2
Eng hssc-i-a2Eng hssc-i-a2
Eng hssc-i-a2
 
Eng hssc-i-a1
Eng hssc-i-a1Eng hssc-i-a1
Eng hssc-i-a1
 
Chemistry hssc-ii-bcd -lahore board
Chemistry hssc-ii-bcd -lahore boardChemistry hssc-ii-bcd -lahore board
Chemistry hssc-ii-bcd -lahore board
 
Chemistry send up examination examination 2017
Chemistry send up examination examination 2017Chemistry send up examination examination 2017
Chemistry send up examination examination 2017
 
Biology hssc-ii-bcd -lahore board - copy
Biology hssc-ii-bcd -lahore board - copyBiology hssc-ii-bcd -lahore board - copy
Biology hssc-ii-bcd -lahore board - copy
 
Biology hssc-i-bcd
Biology hssc-i-bcdBiology hssc-i-bcd
Biology hssc-i-bcd
 
Biology hssc-i-a2
Biology hssc-i-a2Biology hssc-i-a2
Biology hssc-i-a2
 
Biology hssc-i-a1
Biology hssc-i-a1Biology hssc-i-a1
Biology hssc-i-a1
 
~$Th hssc-ii-a1
~$Th hssc-ii-a1~$Th hssc-ii-a1
~$Th hssc-ii-a1
 

Recently uploaded

18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 

Recently uploaded (20)

18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 

Fic (sendup dec17) cs lb

  • 1. FAZAIA INTER COLLEGE LAHORE CANTT A1 SEND UP EXAMINATION DEC, 2017 (Lahore Board) Subject: Comp. Sc. Time allowed: 20 mins Class: XII Max. Marks : 15 Name: ________________ Roll No: _____________ Section: ________ OBJECTIVE SECTION – A Q1. Circle the correct option i.e. A/B/C/D. Each part carries one mark only. (i) The linker combines different library files to the ____________. (A) executable file (B) source file (C) object file (D) output file (ii) Which of the following key is used to save a file? (A) F2 (B) F3 (C) F5 (D) F9 (iii) Void occupy how many bytes in memory? (A) zero (B) one (C) two (D) four (iv) Increment and decrement operators are ______________. (A) bitwise operator (B) assignment operator (C) unary operator (D) binary operator (v) Which of the following is valid character constant? (A) a (B) “b” (C) ‘6’ (D) = (vi) x-=y+1 means ______________ (A) x=x-y+1 (B) x=-x-y=1 (C) x=-x+y+1 (D) x=x-y-1 (vii)The ___________ statement switches the control outside the block in which it is used. (A) switch (B) case (C) if (D) break (viii) Formal arguments are also called _____________. (A) actual arguments (B) original arguments (C) dummy arguments (D) referenced arguments (ix) The actual parameters are passed to a function in __________. (A) function prototype (B) function calling (C) function definition (D) none of the above
  • 2. (x) On successfully closing a file, the fclose() returns ___________. (A) NULL (B) 0 (zero) (C) 1 (one) (D) FILE POINTER (xi) An array subscript should be ___________. (A) float (B) double (C) int (D) an array (xii)Which of the following type of file require largest processing time? (A) sequential file (B) indexed sequential file (C) random file (D) direct access file (xiii) CREATE command is used to create a _________. (A) table (B) view (C) report (D) query (xiv) A label is meaningful only to a _________________ statement. (A) if (B) break (C) if –else (D) goto (xv)Database development process involves mapping of conceptual data model into: (A) object oriented data model (B) network data model (C) implementation model (D) hierarchical data model
  • 3. FAZAIA INTER COLLEGE LAHORE CANTT A2 SEND UP EXAMINATION DEC, 2017 (Lahore Board) Subject: Comp. Sc. Time allowed: 20 mins Class: XII Max. Marks : 15 Name: ________________ Roll No: _____________ Section: ________ OBJECTIVE SECTION – A Q1. Circle the correct option i.e. A/B/C/D. Each part carries one mark only. (i) The ___________ statement switches the control outside the block in which it is used. (A) switch (B) case (C) if (D) break (ii) Formal arguments are also called _____________. (A) actual arguments (B) original arguments (C) dummy arguments (D) referenced arguments (iii) The actual parameters are passed to a function in __________. (A) function prototype (B) function calling (C) function definition (D) none of the above (iv) On successfully closing a file, the fclose() returns ___________. (A) NULL (B) 0 (zero) (C) 1 (one) (D) FILE POINTER (v) An array subscript should be ___________. (A) float (B) double (C) int (D) an array (vi) Which of the following type of file require largest processing time? (A) sequential file (B) indexed sequential file (C) random file (D) direct access file (vii) CREATE command is used to create a _________. (A) table (B) view (C) report (D) query (viii) A label is meaningful only to a _________________ statement. (A) if (B) break (C) if –else (D) goto (ix) Database development process involves mapping of conceptual data model into: (A) object oriented data model (B) network data model (C) implementation model (D) hierarchical data model
  • 4. (x) x=y+1 means ______________ (A) x=x-y+1 (B) x=-x-y=1 (C) x=-x+y+1 (D) x=x-y-1 (xi) The linker combines different library files to the ____________. (A) executable file (B) source file (C) object file (D) output file (xii) Which of the following key is used to save a file? (A) F2 (B) F3 (C) F5 (D) F9 (xiii) Void occupy how many bytes in memory? (A) zero (B) one (C) two (D) four (xiv) Increment and decrement operators are ______________. (A) bitwise operator (B) assignment operator (C) unary operator (D) binary operator (xv) Which of the following is valid character constant? (A) a (B) “b” (C) ‘6’ (D) = FAZAIA INTER COLLEGE LAHORE CANTT SEND UP EXAMINATION DEC, 2017 (Lahore Board) Subject : Comp. Sc. Time allowed: 2 Hrs 40 mins Class : XII Max. Marks: 60 Section-I Q No 2: Attempt any SIX parts. All parts carry equal marks. (2 6) = 12 (i) How do we organize the file on storage media? (ii) What is report generator? (iii) What is a VIEW? How do we create it? (iv) Write down the properties of relations. (v) Briefly explain foreign key. (vi) What is Data Modeling? (vii) Briefly explain the term Modality. (viii) Define the term attribute. (ix) What is Cardinality? Q No 3: Attempt any SIX parts. All parts carry equal marks. (2 6) = 12 (i) Differentiate between getch( ) and getche( ). (ii) Briefly explain between #include directive. (iii) Differentiate between linker and loader. (iv) What is compound assignment statement? (v) Why and where defauly keyword is used?
  • 5. (vi) Briefly describe the basic control structures for writing programs. (vii) Write a program that displays the ASCII code of the character typed by the user. (viii) Write a program to find out the greatest value from the two given values by using conditional operator. (ix) Briefly explain the switch statement. Q No 4: Attempt any SIX questions. All question carries equal marks (2 6) = 12 (i) What is a sential controlled loop? (ii) Briefly explain do-while loop. (iii) What is a function prototype? (iv) What is a coercion of arguments? (v) What is the lifetime of global variables? (vi) Write a program to demonstrate the structure of a function. (vii) Illustrate the difference between text and binary streams. (viii) What is a file pointer? (ix) Discuss any four file access modes. Section-II Note: Attempt any ONE question. (1 8) = 8 Q5. (a) Briefly describe the different Database Models. (b) What are the four major components of the Database Systems. Q6. Explain the following: a) Physical Data Model b) Conceptual Data Model Section-III Note: Attempt any TWO descriptive answers of the following questions. (2 8) = 16 Q7. Write a program that finds sum of the squares of integers from 1 to n. Where n is a positive value entered by the user (i.e: sum=12 +22 +32 +…+n2 ) Q8. (a) Briefly explain the function which is used to read strings of characters from a file. (b) Define GOTO statement. Q9. (a) What is return statement? (b) Write a program that will append records in contact.txt file.
  • 6. (vi) Briefly describe the basic control structures for writing programs. (vii) Write a program that displays the ASCII code of the character typed by the user. (viii) Write a program to find out the greatest value from the two given values by using conditional operator. (ix) Briefly explain the switch statement. Q No 4: Attempt any SIX questions. All question carries equal marks (2 6) = 12 (i) What is a sential controlled loop? (ii) Briefly explain do-while loop. (iii) What is a function prototype? (iv) What is a coercion of arguments? (v) What is the lifetime of global variables? (vi) Write a program to demonstrate the structure of a function. (vii) Illustrate the difference between text and binary streams. (viii) What is a file pointer? (ix) Discuss any four file access modes. Section-II Note: Attempt any ONE question. (1 8) = 8 Q5. (a) Briefly describe the different Database Models. (b) What are the four major components of the Database Systems. Q6. Explain the following: a) Physical Data Model b) Conceptual Data Model Section-III Note: Attempt any TWO descriptive answers of the following questions. (2 8) = 16 Q7. Write a program that finds sum of the squares of integers from 1 to n. Where n is a positive value entered by the user (i.e: sum=12 +22 +32 +…+n2 ) Q8. (a) Briefly explain the function which is used to read strings of characters from a file. (b) Define GOTO statement. Q9. (a) What is return statement? (b) Write a program that will append records in contact.txt file.