On this page we have uploaded UBSE Intermediate Class 12 Question Paper for Computer Science released by ubse.uk.gov.in. The question paper provided here from Uttarakhand State Board. Download the 2023 question paper pdf as well.
Uttarakhand State Board has published subject wise question paper for this year Class 12 students in its official portal ubse.uk.gov.in. Here we have published Class 12 UBSE question paper 2023 for Computer Science subject. For more information regarding Uttarakhand Intermediate Class 12, 2023 Exam Date, Exam Pattern, Time, Date, How to prepare follow our website.
Uttarakhand Board (UBSE) Intermediate Class 12 Question Papers – Computer Science Subject
(1) C++ is a/an …………… Programming Language.
(i) Object oriented
(ii) Structural
(iii) Modular
(iv) Procedural
(2) Main () is a / an
(i) Keyword
(ii) Object
(iii) Function
(iv) None of these
(3) Header file have the file Extension in C++ as
(i) .h
(ii) .he
(iii).p
(iv) .head
(4) A Queue follows-
(i) LIFO Principle
(ii) FIFO Principle
(iii) Liner tree
(iv) Ordered array
(5) The Full form of DDL in SQL is-
(i) Dynamic Data Languages
(ii) Detailed Data Languages
(iii) Data Definition Languages
(iv) Data Derivation Languages
(6) The Expression for Absorption Law is-
(i) A + AB = A
(ii) A + AB = B
(iii) AB + AA’= A
(iv) A + B = B + A
(7) Network of Networks is known as-
(i) Intranet
(ii) Internet
(iii) Local Area Network
(iv) Wan
(8) Which of the following is used for Modulation and Demodulation-
(i) Protocol
(ii) Modem
(iii) Gateway
(iv) Multiplexer
(2) What is the difference between ‘a’ and “a” in C++ ?
(3) What is base class?
(4) How is memory allocated for Two Dimensional Array?
(5) What is an alternative key in SQL?
(6) Write the name of two basic logic gates.
(7) How many parts are there in any IP address?
(8) What is Function Overloading? Explain with the help of suitable example.
(9) Find the output of the following program-
Find the output of the following program-
#Include <iostream.h>
void main()
{ int A=5, B=10;
for (int i=1; i<=2i++)
{
Cout<<“Line 1″<<A++<<“&”<<<<“B-2<<<<< endl; Cout<<“Line 2″<<++B<< “&”<< A+B <<endl;
}
(10) An Array T[25] [20] is stored along the row in the memory with each element requiring 2 bytes of storage of the base Address of array is 42000. Find the Location of T[10] [15]. Also find the total number of elements present in the array.
(11) Evaluate the Post fix Expression AB+C ><P/
if A=2, B=3, C=4, D=5
(12) Give two example each of DDL and DML Commands in SQL.
(13) What is TCP/IP? Explain briefly.
(14) Write one Advantage and one Disadvantage of Star and Linear Topology.
(15) Rewrite the following code after correction-
include <iostream.h>
Include <stdio.h>
Class My student
{int studentId=1001;
Char Name [20];
Publice
Mystudent () {}
void Register ()
{Cin>>student Id;
gets (Name);
}
Void Display ()
}
Cout <<Student Id<<“:”<<Name <<endl; }
};
Void main()
{
My Student MS;
Register. MS ();
MS. Display ();
}
(16) Answer the following Questions (i) to (iii) based on the following program- Class Student
{
int Rno;
Char Name [20];
float Marks;
Protected:
Void Result ();
Public;
Student ();
Void Register (); Void Display ();
};
Class Faculty
long Fcode;
Char FName [20];
Protected:
float Pay;
public:
Faculty ();
Void Enter ();
Void Show ();
Class Course: public student, private Faculty
{
Long ccode [10]; Char CourseName [50]; Char StartDate [8], EndDate [8];
public;
Course ();
Void Commerce ();
Void CDetail ();
};
(16) (i) Which type of inheritance is illustrated in above C++ code?
(ii) Write the name of all data members, which is/are accessible from member function Commerce of class course.
(iii) Write the name of all members, which are accessible from objects of class faculty.
(17) What is a ‘Copy Constructor ? Give a Suitable Example.
Or
What do you understand by a Default Constructor? Give a Suitable example.
(18) Simplify using the K-Map-
F (a, b, c, d) = 2 (0, 1, 3, 4, 5, 7, 8, 9, 11, 12, 13, 15)
Or
Obtain a simplified form for the following Boolean Expression-
F (U, V, W, Z) = t (0, 1, 3, 5, 6, 7, 10, 14, 15)
(19) Represent (A+B+C) (A+B+C) (A+B+C) in NOR-to-NOR Logic Network.
(20) What are Communication Medium? Briefly explain its types.
(21) Write the code for a Class Named as Box in C++ with the following description:
Private member
Box_Number // Data member of int type
Side // Data member of float type
Area // data member of float type
ExecArea () // member function to calculate and assign Area as side * side
Public Members
GetBox ()// A function to allow user to enter value of Box Number and side.
// Also, this function should call. Exec Area () to Calculate Area
ShowBox // A function to display Box Number, Side and Area
(22) Write a program in C++ to check that a number is prime or not, using function.
(23) Find the output of the following program-
#include <iostream.h>
Void main()
int Track[]={10,20,30,40), Striker;
Striker Track;
Track[1]+=30;
Cout<<“Striker> “<<” Striker <<endl;
* Striker -=10;
Striker ++;
Cout<<“Next @ “<< Striker << endl;
Striker +=2;
Cout<<“Last @ “<<“Striker << endl;
Cout<<“Reset To” << Track[0] <<< endl;
}
Explain the following in reference of some function-
(i) call by value
(ii) call by reference
(24) Write an algorithm for Push and Pop operations on any stack.
Or
Write an algorithm for Insertion in the rear end of linked Queue.
(25) Write an algorithm to convert infix Expression to post fix Expression.
(26) (i) Explain the process of making a view of a table with an example.
(ii) What is the difference between Where and having clause? Explain with an example.