0% found this document useful (0 votes)
6 views

Xii Comp (Study Paper)

This document contains questions and programming problems related to different chapters of C programming. It includes questions about data types, operators, selection and repetition statements, functions and pointers. It also contains problems to write programs for number patterns, calculations and character printing using loops.

Uploaded by

zainkhan19865
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

Xii Comp (Study Paper)

This document contains questions and programming problems related to different chapters of C programming. It includes questions about data types, operators, selection and repetition statements, functions and pointers. It also contains problems to write programs for number patterns, calculations and character printing using loops.

Uploaded by

zainkhan19865
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

National Coaching Centre XII Computers

H. # 154, P.I.B. Colony, Karachi. Tel: 34928070, 34928085 2023-24

National Guess Paper 2024


Chapter 1: e. Putchar
Chapter 7:
1. Errors and its types
1. If else
Chapter 2:
2. Else if
1. Algorithm 3. Nested if else
2. Flowchart and its notations 4. Switch case

Chapter 3: Chapter 8:

1. Basic structure 1. For


2. Comments 2. While
3. Escape sequence 3. Do while
4. Nested loop
Chapter 4:
Chapter 15:
1. Data types
2. Reserved words 1. Database
3. Identifiers 2. DBMS
4. Local and global variable 3. Components of DBMS
4. RDMS
Chapter 5: 5. Primary key
6. Advantages and disadvantages of DBMS
1. Arithmetic operator
2. Relational operator
3. Logical operator
4. Comparison operator
5. Increment / decrement operator
Chapter 6:
1. Formatted
a. Scanf
b. Printf
2. Unformatted
a. Getch
b. Getche
c. Getchar ` form the desk of Sir Saad
d. Putch
H. No. 154 Opposite Khawaja Nazim Uddin Hall, PIB Colony Karachi. Page |1
Ph. # 34928070 / 34949503, WhatsApp: 03087793344,
National Coaching Centre XII Computers
H. # 154, P.I.B. Colony, Karachi. Tel: 34928070, 34928085 2023-24

1) Why do we use #include< stdio.h> in c 22) 9) Write a program that swap two
program? inputted numbers
2) Define the primary key and secondary key 23) 10) Write a program that generates the
3) What is database? Define the basic odd numbers from 101-150
database models 24) 11) Write a program to print the
4) Define the relational database model. OR numbers from 4 to 9 and their
write any 3 advantages and 3 25) squares (using do-while, for, while loop)
disadvantages of RDBMS 26) 12) Write a program that inputs your age
5) Define Field , DDL, reports, Query, Data and sister’s age and then
redundancy, functions and library 27) display which is older of the two
functions 28) 13) Write a program which gives the
6) What is loop? How many loop are there in following output
C-language define each with their basic 1
syntax 12
7) Differentiate between do-while and while 123
loop 1234
8) What is selection control structure? 12345
9) Why C- language is called case sensitive
language?
10) Difference between break and continue
statement.
11) Write a program which prints the even
numbers from the given range (151-
12) 190)
13) 2) Write a program which prints the whole
numbers from the given range(151-
14) 190)
15) 3) Write a program which prints all the
ASCII character from 0-255
16) 4) Write a program which takes anumber
and prints the table of the given
17) number
18) 5) Write a program which prints the odd
numbers from the given range (151-190)
19) 6) Write a program to calculate the
power of numbers from 1 to 5
20) 7) Write a program that prints factorial
of any inputted number
21) 8) Write a program to calculate the cube
` form the desk of Sir Saad
of a given numbers.

H. No. 154 Opposite Khawaja Nazim Uddin Hall, PIB Colony Karachi. Page |2
Ph. # 34928070 / 34949503, WhatsApp: 03087793344,

You might also like