हिंदी

Science (English Medium) कक्षा १२ - CBSE Question Bank Solutions

Advertisements
[object Object]
[object Object]
विषयों
मुख्य विषय
अध्याय

Please select a subject first

Advertisements
Advertisements
< prev  6401 to 6420 of 25916  next > 

Write the definition of a member function PUSHGIFT() for a class STACK in C++, to add a GIFT in a dynamically allocated stack of GIFTs considering the following code is already written as a part of the program

struct GIFT
{
    int GCODE;           //Gift Code
    char GDESC[20];      //Gift Description
    GIFT *Link;
};
class STACK
{
    Gift *TOP;
public:
    STACK(){TOP=NULL;}
    void PUSHGIFT{);
    void POPGIFT();
    ~STACK();
};
[6] Object Oriented Programming in C++
Chapter: [6] Object Oriented Programming in C++
Concept: undefined >> undefined

Differentiate between communication using Optical Fiber and Ethernet Cable in context of the wired medium of communication technologies.

[1] Networking and Open Source Software
Chapter: [1] Networking and Open Source Software
Concept: undefined >> undefined

Advertisements

Observe the following C++ code and answer the questions (i) and (ii):

class Passenger
{
   long PNR;
   char Name[20];
public:
   Passenger () · //Function 1
   { cout<<"Ready"<<endl; }

   void Book(long P,char N[]) //Function 2
   { PNR = P; strcpy(Name, N);}

   void Print () //Function 3
   { cout«PNR << Name <<endl; }
   
   -Passenger() //Function 4
   { cout<<"Booking cancelled! "<<endl;}
};

1) Fill in the blank statements in Line 1 and Line 2 to execute Function 2 and Function 3 respectively in the following code:

void main()
{
   Passenger P;
   _________      //Line 1
   _________      //Line 2
}//Ends here

2) Which function will be executed at } // Ends here? What is this function referred as?

[6] Object Oriented Programming in C++
Chapter: [6] Object Oriented Programming in C++
Concept: undefined >> undefined

Write the definition of a class Photo In C++ with the following description:

Private Members

- Pno    //Data member for Photo Number (an integer)

-Category //Data.member for Photo Category (a string)

- Exhibit I // Data member for Exhibition Gallery (a string) 

- FixExhibit //A member function to assign Exhibition Gallery as per Category as shown in the following table

Category Exhibit
Antique Zaveri
Modern Johnsen
Classic Terenida

Public Members

-Register()   //A function to allow user to enter values Pno I category and call FixExhibi t () function

- ViewAll()  //A function to display all the data members

[6] Object Oriented Programming in C++
Chapter: [6] Object Oriented Programming in C++
Concept: undefined >> undefined

Write the definition of a member function PUSH( ) in C++, to add a new book in a dynamic stack of BOOKS considering the following code is already included in the program

struct BOOKS
{
   char ISBN[20], TITLE[80];
   BOOKS *Link;
};
class STACK
{
   BOOKS *Top;
public:
   STACK-() {Top=NULL;}
   void PUSH();
   void POP();
   ~STACK();
};
[6] Object Oriented Programming in C++
Chapter: [6] Object Oriented Programming in C++
Concept: undefined >> undefined

Differentiate between protected .and private me~bers of a class. in context of Object Oriented Programming. Also, give a suitable example illustrating accessibility/non-accessibility of each using a class and an object in C++.

[6] Object Oriented Programming in C++
Chapter: [6] Object Oriented Programming in C++
Concept: undefined >> undefined

Write the definition of a class BOX 1n C++ with the following description

Private Members

- BoxNumber //data member of integer 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()   // function to allow user to enter values of BoxNumber and Side. Also, this

                  // function should call ExecArea () to calculate Area

- Showbox ()  //  A function to display BoxNumber , Side and Area

[6] Object Oriented Programming in C++
Chapter: [6] Object Oriented Programming in C++
Concept: undefined >> undefined

State DeMorgan's Laws of Boolean Algebra and verify them using a truth table.

[9] C++ Boolean Algebra
Chapter: [9] C++ Boolean Algebra
Concept: undefined >> undefined

Hi-Standard Tech Traj.ning Ltd. is a Mumbai based organization which is expanding its office set-up to Chennai. At Chennai office compound, they are planning to have 3 different blocks for Admin, Training and Accounts related activities. Each block has a number of computers, which are required to be connected in a network for communication, data and resource sharing.

As a network consultant, you have to suggest the best network related solutions for them for issues/problems raised by them in (i) to (iv), as per the distances between various blocks/locations and other given parameters.

Shortest differences between various blocks/locations:

Admin Block to Accounts Block 300 Metres
Accounts Block to Training Block 150 Metres
Admin Block to Training Block 200 Metres
MUMBAI Head Office to CHENNAI Office 1300 Km

The number of computers installed at various blocks is as follows:

Training Block 150
Accounts Block 30
Admin Block 40

1) Suggest the most appropriate block/location to house the SERVER in the CHENNAI office (out of the 3 blocks) to get the best and effective connectivity. Justify your answer.

2) Suggest the best-wired medium and draw the cable layout (Block to Block) to efficiently connect various blocks within the CHENNAI office compound.

3) Suggest a device/software and its placement that would provide data security for the entire network of the CHENNAI office.

4) Suggest a device and the protocol that shall be needed to provide wireless Internet access to all smartphone/laptop users in the CHENNAI office

[1] Networking and Open Source Software
Chapter: [1] Networking and Open Source Software
Concept: undefined >> undefined

Differentiate between packet switching over message switching

[1] Networking and Open Source Software
Chapter: [1] Networking and Open Source Software
Concept: undefined >> undefined

Derive a Canonical POS expression for a Boolean function FN, represented by the following truth truth table:

X y z FN (X, Y, Z)
0 0 0 1
0 0 1 1
0 1 0 0
0 1 1 0
1 0 0  1
1 0 1 0
1 1 0 0
1 1 1 1
[9] C++ Boolean Algebra
Chapter: [9] C++ Boolean Algebra
Concept: undefined >> undefined

Derive a Canonical POS expression for a Boolean function G, represented by the following truth table:

X Y Z G(X, Y, Z)
0 0 0 0
0 0 1 0
0 1 0 1
0 1 1 0
1 0 0 1
1 0 1 1
1 1 0 0
1 1 1 1

 

[9] C++ Boolean Algebra
Chapter: [9] C++ Boolean Algebra
Concept: undefined >> undefined

Derive a Canonical POS expression for a Boolean function F, represented by the following truth table

P Q R F(P,Q,R)
0 0 0 1
0 0 1 0
0 1 0 0
0 1 1 1
1 0 0 1
1 0 1 0
1 1 0 0
1 1 1 1

 

[9] C++ Boolean Algebra
Chapter: [9] C++ Boolean Algebra
Concept: undefined >> undefined

Reduce the following Boolean Expression to its simplest form using K-Map:

`G(U, V,W, Z) = sum(3,5 , 6 , 7 , 11 , 12 ,13, 15)`

[9] C++ Boolean Algebra
Chapter: [9] C++ Boolean Algebra
Concept: undefined >> undefined

Which function(s) out of the following can be considered as an overloaded function(s) in the same program? Also, write the reason for not considering the other(s) as an overloaded function(s)

void Execute(char A,int B);    // Function 1

void Execute(int A,char B);    // Function 2

void Execute(int P=10) ;       // Function 3

void Execute();                    // Function 4

int Execute(int A);               // Function 5

void Execute(int &K);          // Function 6

[6] Object Oriented Programming in C++
Chapter: [6] Object Oriented Programming in C++
Concept: undefined >> undefined

Reduce the following Boolean Expression to its simplest form using K-Map:

`E (U, V, Z, W) = sum (2, 3 , 6, 8, 9, 10, 11 , 12 , 13 )`

[9] C++ Boolean Algebra
Chapter: [9] C++ Boolean Algebra
Concept: undefined >> undefined

Reduce the following Boolean Expression to its simplest form using K-Map

`F (X, Y, Z, W) = sum (0, 1, 4, 5, 6, 7, 8, 9, 11, 15)`

[9] C++ Boolean Algebra
Chapter: [9] C++ Boolean Algebra
Concept: undefined >> undefined

Draw the Logic Circuit of the following Boolean Expression

(U' + v).(V' + W')

[9] C++ Boolean Algebra
Chapter: [9] C++ Boolean Algebra
Concept: undefined >> undefined

Draw the Logic Circuit of the following Boolean Expression using only NOR Gates

(A+B).(C+D)

[9] C++ Boolean Algebra
Chapter: [9] C++ Boolean Algebra
Concept: undefined >> undefined

What is a copy constructor? 

[6] Object Oriented Programming in C++
Chapter: [6] Object Oriented Programming in C++
Concept: undefined >> undefined
< prev  6401 to 6420 of 25916  next > 
Advertisements
Advertisements
CBSE Science (English Medium) कक्षा १२ Question Bank Solutions
Question Bank Solutions for CBSE Science (English Medium) कक्षा १२ Biology
Question Bank Solutions for CBSE Science (English Medium) कक्षा १२ Chemistry
Question Bank Solutions for CBSE Science (English Medium) कक्षा १२ Computer Science (C++)
Question Bank Solutions for CBSE Science (English Medium) कक्षा १२ Computer Science (Python)
Question Bank Solutions for CBSE Science (English Medium) कक्षा १२ English Core
Question Bank Solutions for CBSE Science (English Medium) कक्षा १२ English Elective - NCERT
Question Bank Solutions for CBSE Science (English Medium) कक्षा १२ Entrepreneurship
Question Bank Solutions for CBSE Science (English Medium) कक्षा १२ Geography
Question Bank Solutions for CBSE Science (English Medium) कक्षा १२ Hindi (Core)
Question Bank Solutions for CBSE Science (English Medium) कक्षा १२ Hindi (Elective)
Question Bank Solutions for CBSE Science (English Medium) कक्षा १२ History
Question Bank Solutions for CBSE Science (English Medium) कक्षा १२ Informatics Practices
Question Bank Solutions for CBSE Science (English Medium) कक्षा १२ Mathematics
Question Bank Solutions for CBSE Science (English Medium) कक्षा १२ Physical Education
Question Bank Solutions for CBSE Science (English Medium) कक्षा १२ Physics
Question Bank Solutions for CBSE Science (English Medium) कक्षा १२ Political Science
Question Bank Solutions for CBSE Science (English Medium) कक्षा १२ Psychology
Question Bank Solutions for CBSE Science (English Medium) कक्षा १२ Sanskrit (Core)
Question Bank Solutions for CBSE Science (English Medium) कक्षा १२ Sanskrit (Elective)
Question Bank Solutions for CBSE Science (English Medium) कक्षा १२ Sociology
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×