Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
15 views
10 pages
Computer Science
12 class past paper
Uploaded by
nomankhan512785
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save Computer Science For Later
Download
Save
Save Computer Science For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
15 views
10 pages
Computer Science
12 class past paper
Uploaded by
nomankhan512785
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download now
Download
Save Computer Science For Later
Carousel Previous
Carousel Next
Download
Save
Save Computer Science For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 10
Search
Fullscreen
SECTION -A Time allowed: 20 minutes Marks: 15 Note: Section-A is compulsory. All parts of this section are to be answered on the separately provided OMR Answer Sheet which should be completed in the first 25 minutes and handed over to - the Centre Superintendent, Deleting/overwriting is not allowed. Do not use lead encil. Choose ect anova B / c/ ae evant bubble for estion on the OMR Answer ac according to the instructions st there. Each part carries one mark. 1, Which operating system is used in super computer, where thousands of processors work together? A. _ Distributed B. Parallel processing C. Multiprogramming D Multiprocessor D\ CO om. 2s a of the scl Ge Operating cies in home Appliances a Site oven? Batch processing a“ Distributed C. Embedded D. Parallel processing _ Which of the following phase involved monitoring, evaluating, repairing. and improving the system throughout the life time of the system? A. Development B. Invest ation C. elie cal » In SDLC plementation from an ee to a new system K y is called : A. Step-by-step implementation B. Phased implementation C. Parallel implementation D. __ Pilot implementation » Which header file must be included in the program to use setw( )? A. conio.h B. _ string.h C. iomanip.h D.° _ iostream.h 6. What will be the output of ing statement? Wa am int x= 3 et eaten ais ey D. : w os uo he What will be output of following code ifa= 15andb=10? a>b?a-b:a+b; Aree a5 Baits 16 Gets Die 25 8. Which of the following accesses is the seventh element stored in ret A. __ array(6); : array C. _array(7); oa 9. How isa f (Wdecla if it does not nce wi type? a(NN cong B. double oi void D. int 10. The dereference operator is denoted by: Asan cay B. Ore % D. 8& 11. Which of the following indicates the address of a variable “temp” of type float? . A. #temp “i C. — &float te 2 rot mp& 12, Which» alee ‘symbols is used i destructor of a class? ae . * D. iw 13. class A inherits from class B, then . iscalled sof A.Aiscalled Parent class, Sub class Sub class, Parent class Abstract class, Base class Child class, Sub class 14. Which header fi et oa, the'file? write an A. Gor B. __ ofstream ANN istream D. — fstream 15. Which of the following functions is used to read string “computer” character by character from file? A. — write () B.°- get () Ge Spukt) D. gets () LSP SoSTime allowed; 2:40 hours Total Marks: 60 Note: Sections ‘B’ ‘C’ and ‘D’ comprise pages 1-3 and questions therein are to be answered on the separately provided answer book. Use supplementary answer sheet i.e, sheet B if ‘required, Write your answers neatly and legibly. SECTION — B (Marks 18) Note: Section-B consists of following topics of the syllabus: 1. Operating Systems 2. System Development Life Cycle Object Oriented Programming In Control Structure Pointers Q2. Attempt any SIX parts from the following. All parts carry equal marks, — (6x3 = 18) i, List the personnel involved in System Development Life Cycle. ii, . Draw a labeled diagram to show the states of a Process. NN ii, What is the m pee Gthod of ‘Gn imple a Ree System _ Dev ae and Why? : iv. oat out valid and invalid variable “names, Give reasons if a variable is invalid, a. name b. AAA c 9a d... US$ e ab f. C++ v. . Evaluate the following expressions: a. (2-8.5)(6/7+4.2) b. ple later vi. Write the output of the falls free progra oS “—_ void main rw: i a=b=x=v=0; whee ++} y= tty; cout<< “a =." <
= 0; i--) { ; a{i] = 2 * a[i+1] -i; See << afi]; viii, List fon ne toe in aby oan and trunc pee ix, A between _—_ default constructor and user-defined constructor. SECTION - D (Marks 24) Note: Attempt any THREE questions. All questions carry equal marks. (3 x 8 = 24) Q4. Write a C++ program implementing a class with the name Time. Thi ass should have a con ution Fp inti alize the hours a seconds to zero, ‘The ‘should have another n name ToSecond and display the time pass by the object into seconds, (8) Q5. What are the different functions performed by an operating system. (8) Q6. Write aC++ program implementing a " class with the name Time ~ (8) This class should have a constructor to initialize the hours, ae seconds to zero. gies B\ cow The class sh A er function . name? display the time the object into seconds, Q7. \ Trace the values of variables with each iteration of program statement in the given table. (8) #include
void main( ) { int arr[5] = {12, 43, 36, 8,7}; int c, s = 0; for (c= 0;c <= 4; c++) { if (arr[c] % 3 = = 0) { cout << arr[c] << “\n”; $ += arr[c]; yecey cout<<"Sum = eS ry ee oe 0 Rae eee oe ee ee pi cc Soe aeSECTION -A Time allowed: 20 minutes Marks: 15 Note: Section-A is compulsory. All parts of this section are to be answered on the separately provided OMR Answer Sheet which should be completed in the first 25 minutes and handed over to - the Centre Superintendent, Deleting/overwriting is not allowed. Do not use lead encil. Choose ect anova B / c/ ae evant bubble for estion on the OMR Answer ac according to the instructions st there. Each part carries one mark. 1, Which operating system is used in super computer, where thousands of processors work together? A. _ Distributed B. Parallel processing C. Multiprogramming D Multiprocessor D\ CO om. 2s a of the scl Ge Operating cies in home Appliances a Site oven? Batch processing a“ Distributed C. Embedded D. Parallel processing _ Which of the following phase involved monitoring, evaluating, repairing. and improving the system throughout the life time of the system? A. Development B. Invest ation C. elie cal » In SDLC plementation from an ee to a new system K y is called : A. Step-by-step implementation B. Phased implementation C. Parallel implementation D. __ Pilot implementation » Which header file must be included in the program to use setw( )? A. conio.h B. _ string.h C. iomanip.h D.° _ iostream.h 6. What will be the output of ing statement? Wa am int x= 3 et eaten ais ey D. : w os uo he What will be output of following code ifa= 15andb=10? a>b?a-b:a+b; Aree a5 Baits 16 Gets Die 25 8. Which of the following accesses is the seventh element stored in ret A. __ array(6); : array C. _array(7); oa 9. How isa f (Wdecla if it does not nce wi type? a(NN cong B. double oi void D. int 10. The dereference operator is denoted by: Asan cay B. Ore % D. 8& 11. Which of the following indicates the address of a variable “temp” of type float? . A. #temp “i C. — &float te 2 rot mp& 12, Which» alee ‘symbols is used i destructor of a class? ae . * D. iw 13. class A inherits from class B, then . iscalled sof A.Aiscalled Parent class, Sub class Sub class, Parent class Abstract class, Base class Child class, Sub class 14. Which header fi et oa, the'file? write an A. Gor B. __ ofstream ANN istream D. — fstream 15. Which of the following functions is used to read string “computer” character by character from file? A. — write () B.°- get () Ge Spukt) D. gets () LSP SoS
You might also like
Computer Science HSSC-II According To 2009 Syllabus PDF
PDF
No ratings yet
Computer Science HSSC-II According To 2009 Syllabus PDF
4 pages
HSSC-II Computer Science (2nd Set)
PDF
No ratings yet
HSSC-II Computer Science (2nd Set)
9 pages
Paper Class 12 Computer Science - 045937
PDF
No ratings yet
Paper Class 12 Computer Science - 045937
6 pages
XII First Term Exam 2024
PDF
No ratings yet
XII First Term Exam 2024
5 pages
Class Xi Computer Science Paper For Half Yearly Exam 2010
PDF
60% (5)
Class Xi Computer Science Paper For Half Yearly Exam 2010
8 pages
PreExam 08 07 2023 C
PDF
No ratings yet
PreExam 08 07 2023 C
21 pages
Computer Science Full Book Class 12th
PDF
No ratings yet
Computer Science Full Book Class 12th
4 pages
cs201 Mcqs by Izhar
PDF
No ratings yet
cs201 Mcqs by Izhar
48 pages
CS111 Exam
PDF
No ratings yet
CS111 Exam
19 pages
BSEB-12th-Computer-Science-Model-Paper-2021
PDF
No ratings yet
BSEB-12th-Computer-Science-Model-Paper-2021
26 pages
Computer Science HSSC-II Solution
PDF
No ratings yet
Computer Science HSSC-II Solution
12 pages
Dcs 106 Resit
PDF
100% (1)
Dcs 106 Resit
6 pages
c c++ mcq
PDF
No ratings yet
c c++ mcq
5 pages
PAST PAPER 2024 First Annual COMPUTER SCIENCE FBISE
PDF
No ratings yet
PAST PAPER 2024 First Annual COMPUTER SCIENCE FBISE
4 pages
PreExam 08 07 2023 D
PDF
No ratings yet
PreExam 08 07 2023 D
7 pages
Paper Class 12 Computer Science - 045937
PDF
No ratings yet
Paper Class 12 Computer Science - 045937
3 pages
Introduction to Programming
PDF
No ratings yet
Introduction to Programming
38 pages
3407
PDF
No ratings yet
3407
4 pages
Exit Exam CPP - 2
PDF
No ratings yet
Exit Exam CPP - 2
23 pages
Chapter - 1 Software Concept (13 Marks) : Practice Questions (2018-19) Class - XI (COMPUTER)
PDF
No ratings yet
Chapter - 1 Software Concept (13 Marks) : Practice Questions (2018-19) Class - XI (COMPUTER)
2 pages
2PU_CS_QP
PDF
No ratings yet
2PU_CS_QP
5 pages
C++ 07 Batch by 09CE37
PDF
No ratings yet
C++ 07 Batch by 09CE37
9 pages
pgdca9(16.05.2018)
PDF
No ratings yet
pgdca9(16.05.2018)
2 pages
Final HSSC-II Model Paper Computer Science
PDF
No ratings yet
Final HSSC-II Model Paper Computer Science
9 pages
Final HSSC-II Model Paper Computer Science
PDF
No ratings yet
Final HSSC-II Model Paper Computer Science
9 pages
Computer Science 12
PDF
No ratings yet
Computer Science 12
3 pages
Computer Science Viva-Voce Question
PDF
93% (15)
Computer Science Viva-Voce Question
8 pages
Programming in C++ Jan 2014
PDF
No ratings yet
Programming in C++ Jan 2014
1 page
Ilovepdf Merged
PDF
No ratings yet
Ilovepdf Merged
12 pages
Computer Science HSSC-II Solution of 2nd Set Model Question Paper
PDF
No ratings yet
Computer Science HSSC-II Solution of 2nd Set Model Question Paper
13 pages
CS 2puc Mid2023
PDF
No ratings yet
CS 2puc Mid2023
4 pages
Sample Paper 7
PDF
No ratings yet
Sample Paper 7
6 pages
Introduction to Programming CS 201 S olved
PDF
No ratings yet
Introduction to Programming CS 201 S olved
19 pages
CBSE Class 11 Computer Science Sample Paper 2018
PDF
No ratings yet
CBSE Class 11 Computer Science Sample Paper 2018
6 pages
Final Model Paper Computer Science HSSC-II
PDF
No ratings yet
Final Model Paper Computer Science HSSC-II
9 pages
Day 100
PDF
No ratings yet
Day 100
4 pages
Computer SC (Ha)
PDF
No ratings yet
Computer SC (Ha)
4 pages
2022
PDF
No ratings yet
2022
24 pages
Merged Self Test Exam For Computer Science First Round 1
PDF
No ratings yet
Merged Self Test Exam For Computer Science First Round 1
37 pages
Computer Science B.SC - .Prog - .Sem - Nov Dec 2016
PDF
No ratings yet
Computer Science B.SC - .Prog - .Sem - Nov Dec 2016
98 pages
Technical Test Practice-Wipro
PDF
No ratings yet
Technical Test Practice-Wipro
58 pages
Siemens Model Paper
PDF
No ratings yet
Siemens Model Paper
5 pages
Cs201 Midterm Solved Mcqs by Junaid Malik
PDF
No ratings yet
Cs201 Midterm Solved Mcqs by Junaid Malik
43 pages
Computer Science
PDF
No ratings yet
Computer Science
26 pages
COMPUTER SCIENCE (41) -FINAL-2023
PDF
No ratings yet
COMPUTER SCIENCE (41) -FINAL-2023
3 pages
Object Oriented Programming Using C++ PCIT102
PDF
No ratings yet
Object Oriented Programming Using C++ PCIT102
27 pages
' Maximummarks: 100': I Fiyf.,.Quesfions, Tiling
PDF
No ratings yet
' Maximummarks: 100': I Fiyf.,.Quesfions, Tiling
5 pages
Bank of Question-Final
PDF
No ratings yet
Bank of Question-Final
6 pages
581115HSSC IIComputerScience
PDF
No ratings yet
581115HSSC IIComputerScience
3 pages
11CS Half Yearly 2023-24
PDF
No ratings yet
11CS Half Yearly 2023-24
2 pages
2024 Object Oriented Programming With C++
PDF
No ratings yet
2024 Object Oriented Programming With C++
7 pages
C Programming 11L106
PDF
No ratings yet
C Programming 11L106
4 pages
Be Computer Engineering Semester 3 2022 November Object Oriented Programming Oop Pattern 2019
PDF
No ratings yet
Be Computer Engineering Semester 3 2022 November Object Oriented Programming Oop Pattern 2019
3 pages
11th Computer Science Half Yearly QP EM Thanjavur
PDF
No ratings yet
11th Computer Science Half Yearly QP EM Thanjavur
2 pages
QB - Object Oriented Programming Using C++-2
PDF
No ratings yet
QB - Object Oriented Programming Using C++-2
25 pages
CSC201 past questions and answers
PDF
No ratings yet
CSC201 past questions and answers
17 pages
STQS1313 2017 2018pdf 230205 133219
PDF
No ratings yet
STQS1313 2017 2018pdf 230205 133219
15 pages
Introduction To Progarmming: Sample Online Bits: Mid-1 1 B.Tech, Sem: 1
PDF
No ratings yet
Introduction To Progarmming: Sample Online Bits: Mid-1 1 B.Tech, Sem: 1
8 pages
MCQs PDf 100
PDF
No ratings yet
MCQs PDf 100
27 pages
English
PDF
No ratings yet
English
13 pages
Math
PDF
No ratings yet
Math
7 pages
Physics
PDF
No ratings yet
Physics
8 pages
Urdu
PDF
No ratings yet
Urdu
10 pages