हिंदी
Tamil Nadu Board of Secondary EducationHSC Science कक्षा ११

HSC Science कक्षा ११ - Tamil Nadu Board of Secondary Education Question Bank Solutions

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

Please select a subject first

Advertisements
Advertisements
< prev  1321 to 1340 of 4421  next > 

King Vikramaditya has two magic swords. With one, he can cut off 19 heads of a dragon, but after that, the dragon grows 13 heads. With the other sword, he can cut off 7 heads, but 22 new heads grow. If all heads are cut off, the dragon dies. If the dragon has originally 1000 heads, can it ever die?

[8] Iteration and Recursion
Chapter: [8] Iteration and Recursion
Concept: undefined >> undefined

Assume an 8 × 8 chessboard with the usual coloring. "Recoloring" operation changes the color of all squares of a row or a column. You can recolor repeatedly. The goal is to attain just one black square. Show that you cannot achieve the goal.

[8] Iteration and Recursion
Chapter: [8] Iteration and Recursion
Concept: undefined >> undefined

Advertisements

What is the difference between isupper() and toupper() functions?

[11] Functions
Chapter: [11] Functions
Concept: undefined >> undefined

What are called members?

[14] Classes and Objects
Chapter: [14] Classes and Objects
Concept: undefined >> undefined

Differentiate structure and class though both are user-defined data types.

[14] Classes and Objects
Chapter: [14] Classes and Objects
Concept: undefined >> undefined

What is the difference between the class and object in terms of oop?

[14] Classes and Objects
Chapter: [14] Classes and Objects
Concept: undefined >> undefined

Why it is considered good practice to define a constructor though a compiler can automatically generate a constructor?

[14] Classes and Objects
Chapter: [14] Classes and Objects
Concept: undefined >> undefined

The variables declared inside the class are known as ______.

[14] Classes and Objects
Chapter: [14] Classes and Objects
Concept: undefined >> undefined

Which of the following statements about member functions are True or False?

i) A member function can call another member function directly by using the dot operator.

ii) Member function can access the private data of the class.

[14] Classes and Objects
Chapter: [14] Classes and Objects
Concept: undefined >> undefined

A member function can call another member function directly, without using the dot operator called as ______

[14] Classes and Objects
Chapter: [14] Classes and Objects
Concept: undefined >> undefined

The member function defined within the class behaves like ______ functions.

[14] Classes and Objects
Chapter: [14] Classes and Objects
Concept: undefined >> undefined

Which of the following access specifier protects data from inadvertent modifications?

[14] Classes and Objects
Chapter: [14] Classes and Objects
Concept: undefined >> undefined

Rewrite the following program after removing the syntax errors if any and underline the errors:

#include<iostream>
$include<stdio>
class mystud
{ int studid =1001;
char name[20];
public
mystud( ) { }
void register ( )
{cin>>stdid; gets(name); }
void display ( )
{cout<<studid<<”: “<<name<<endl;}
}
int main( ) { mystud MS; register.MS( ); MS.display( ); }
int main( )
{ mystud MS;
register.MS( );
MS.display( );
}

[14] Classes and Objects
Chapter: [14] Classes and Objects
Concept: undefined >> undefined

Define a class RESORT with the following description in C++ :

Private members:
Rno // Data member to storeroom number
Name //Data member to store user name
Charges //Data member to store per day charge Days //Data member to store the number of days Compute( )/*A function to calculate a total amount as Days * Charges and if the total amount exceeds 11000 then the total amount is 1.02 * Days *Charges */
Public member:
GetInfo( ) /* Function to Read the information like name , room no, charges and days*/
DispInfo( )/* Function to display all entered details and total amount calculated using COMPUTE function*/

[14] Classes and Objects
Chapter: [14] Classes and Objects
Concept: undefined >> undefined

Write the output of the following

#include<iostream>
using namespace std;
class student
{
  int rno, marks;
  public: student(int r, int m)
  {
    cout << "Constructor " << endl;
    rno = r;
    marks = m;
  }
  void printdet()
  {
    marks = marks + 30;
    cout << "Name: Bharathi" << endl;
    cout << "Roll no : "<<rno << "\n";
    cout << "Marks : "<<marks << endl;
  }
};
int main()
{
  student s(14,70);
  s.printdet();
  cout << "Back to Main";
  return 0;
}
[14] Classes and Objects
Chapter: [14] Classes and Objects
Concept: undefined >> undefined

Which of the following deals with procedures, practices, and values?

[17] Computer Ethics and Cyber Security
Chapter: [17] Computer Ethics and Cyber Security
Concept: undefined >> undefined

Commercial programs made available to the public illegally are known as ______.

[17] Computer Ethics and Cyber Security
Chapter: [17] Computer Ethics and Cyber Security
Concept: undefined >> undefined

Which one of the following is self-repeating and does not require a computer program to attach itself?

[17] Computer Ethics and Cyber Security
Chapter: [17] Computer Ethics and Cyber Security
Concept: undefined >> undefined

Which one of the following tracks a does user visit a website?

[17] Computer Ethics and Cyber Security
Chapter: [17] Computer Ethics and Cyber Security
Concept: undefined >> undefined

Which of the following is not a malicious program on computer systems?

[17] Computer Ethics and Cyber Security
Chapter: [17] Computer Ethics and Cyber Security
Concept: undefined >> undefined
< prev  1321 to 1340 of 4421  next > 
Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×