Helpdesk: CLASS XII Computer Science

Helpdesk for class XII CS Pre-Board Exam dated 17.01.14

Click Here to Ask your Query/Doubt

Q1. Actually, I have tried clear screen commands( system("cls") etc.) but g++ compiler give run time error (cls: not found) .So, tell me the command to clear the display( or terminal) for g++ compiler.
Asked by: Shivani
Time: 1/3/2014 18:47:13

Response: Use following code:

#include<iostream> #include<cstdlib> using namespace std; int main() { system("clear"); return 0; }

Proof:
Before Run
After Run

Q2. suppose our char array is
char mystring[]="What@OUTPUT!"

then what will be the output of
mystring[1]+1;
??
Asked by: Supreet Kaur
Time: 1/5/2014 12:40:08

Response: It means adding one to the value of second element of array.

Q3. please suggest a website or blog for complete circular queue program (insertion,deletion,display) implemented with structures and classes..!!

with respect to theory exam are searching and sorting of 1d array important topic??
Asked by: Supreet Kaur
Time: 1/5/2014 18:56:54

Response: Circular Queue Program resource: http://www.wncoder.com/2012/12/c-circular-queue-data-structures.html. 
Yes. everything related to 1D- Array either studied in class XI or Xii is important.

2 comments: