CBSE Computer Science Assignments class XII 2008

Add to Favourites
Post to:

http://www.cbseguess.com/-------------------------------------------------------------------------------------------------------www.cbseguess.com Other Educational Portals www.icseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com Subjective Assignments For CBSE (XII) Computer Science Aspirants Dheeraj Mehrotra (National Awardee) attention@computerscienceexpertise.com www.computerscienceexpertise.com Q1. Define the term Internet. Q2. Differentiate between LAN, WAN and MAN. Q3. Explain the following terms: a. HOST b. REPEATER c. BRIDGE d. ROUTER e. BRIDGE f. GATEWAY g. MODEM Q4. Write in about 50 words the History of Internet. Q5. What is GIAS. Q6. What are the two types of accounts of Internet used in major. Q7. What are the various tools of Internet. Q8. How does CHATTING differ from EMAIL. Q9. What are the various services of Internet. Q10. Write short notes on the following: a. GOPHER b. MOSAIC c. USENET http://www.cbseguess.com/-------------------------------------------------------------------------------------------------------www.cbseguess.com Other Educational Portals www.icseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com d. NEWS GROUPS e. WAIS Q11. Define the following Internet terms: a. DNS b. EMAIL c. COOKIE d. JABBER e. HTTP Q12. What is a Web Browser. Name its utility. Q13. Name any three connecting devices of Internet. Q14. Name any two Search Engines. Q15. Differnetiate between DOWNLOAD and UPLOAD. Q16. Write a note of the following: a. Internet Security b. Public and Private Key c. Digital Signatures d. Private Virtual Network 17. Define the term Internet. How does communication takes place on the Internet. 18. What are the main Hardware and Software requirements for using Internet. http://www.cbseguess.com/-------------------------------------------------------------------------------------------------------www.cbseguess.com Other Educational Portals www.icseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com 19. Name and explain the various communication devices used for Internet Access. 20. Explain the following: (a) Browser (b) Web Page (c) Website 21. Name any two Browsers available with you. 22. What are the steps required to access the Internet using Explorer. 23. What is an E-Mail. How is to sent throgh the Internet. 24. Name any four utilities of E-mail. 25. Write in about 100 words about the EMAIL and its procedure using MS Explorer Software. 26.(a) What is the significance of Cyber Law? (b) Expand the following terms with respect to Networking: (i) XML (ii) WWW (iii) WLL (iv) TCP/IP (c) Which of the following units measures the speed with which data can be transmitted from one node to another notde of a network? Also, give the expression of the suggested unit. (i) KMph (ii) Mbps (iii) MGps http://www.cbseguess.com/-------------------------------------------------------------------------------------------------------www.cbseguess.com Other Educational Portals www.icseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com (d) ―Hindustan Connecting World Association‖ is planning to start their offices in four major cities in India to provide regional IT infrastructure support in the field of Education & Culture. The company has planned to set up their head office in New Delhi in three locations and have named their New Delhi offices as ―Sales Office‖, ―Head Office‖ and ―Tech Office‖. The company‘s regional offices are located at ―Coimbatore‖, ―Kolkata‖ and ―Ahmedabad‖. A rough layout of the same is as follows: Approximate distances between these offices as per network survey team is as follows: Place From Place To Distance Head Office Sales Office 10 KM Head Office Tech Office 70 Meter Head Office Kolkata Office 1291 KM Head Office Ahmedabad Office 790 KM Head Office Coimbatore Office 1952 KM In continuation of the above, the company experts have planned to install the following number of computers in each of their offices: Head Office 100 Sales Office 20 Tech Office 50 Kolkata Office 50 Ahmedabad Office 50 Coimbatore Office 50 (i) Suggest network type (out of LAN, MAN, WAN) for connecting each of the following set of their offices: -Head Office and Tech Office -Head Office and Coimbatore Office (ii) Which device will you suggest to be procured by the company for connecting all the computers within each of their offices out of the following devices? -Modem -Telephone -Switch/Hub http://www.cbseguess.com/-------------------------------------------------------------------------------------------------------www.cbseguess.com Other Educational Portals www.icseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com (iii) Which of the following communication media, will you suggest to be procured by the company for connecting their local offices in New Delhi for ver effective and fast communication? -Ethernet Cable -Optical Fiber -Telephone Cable (iv) Suggest a cable/wiring layout for connecting the company’s local offices located in New Delhi. Also, suggest an effective method/technology for connecting the company’s regional offices at “Kolkata”, “Coimbatore” and “Ahmedabad”. http://www.cbseguess.com/-------------------------------------------------------------------------------------------------------www.cbseguess.com Other Educational Portals www.icseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com CHAPTER 15 SAMPLE TEST PAPERS OBJECTIVE EXERCISE [SOLVED & UNSOLVED] C++ 1. Name the combinational characters required for naming an Identifier in C++? 2. What are special symbols in C++ ? 3. Does C++ offer compatibility to lower case and upper case letters ? 4. What are keywords ? 5. Is it required to provide key words in either case, lower or upper ? 6. Name the three types of constants available in C++ ? 7. What are string constants of C++ ? 8. What are numeric constants of C++ ? 9. Explain the integer constants of C++ ? 10. Define Floating Point constants of C++ ? 11. What are Hex constants ? 12. What are Octal Constants ? 13. What are character Constants ? 14. How is an Identifier defined as a char type ? 15. What are non-graphic characters of C++ ? 16. Name the usage of the following backslash characters ? \a, \n, \t, \b, \r, \f, \v, \\, \‘, \0, \? . 17. Name the different operators of C++ ? http://www.cbseguess.com/-------------------------------------------------------------------------------------------------------www.cbseguess.com Other Educational Portals www.icseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com 18. Name the Arithmetic operators with definition ? 19. Define the precedence of execution of arithmetic operators in C++ ? 20. Name and define the assignment operators of C++ ? 21. Define an expression of C++ ? 22. Define the logical operators of C++ ? 23. Explain the Ternary Operator of C++ ? 24. What is an automatic conversion ? 25. What is Type Casting ? 26. Define the three types of statements of C++ ? 27. Define the remark statement of C++ ? 28. Define the structure of a C++ program ? 29. Name any two common compilers of C++ ? 30. Explain the concept of IOSTREAM.H ? 31. Explain the usage of cout & cin ? 32. Define a manipulator of C++ ? 33. Explain the usage of endl and setw manipulators ? 34. Name the conditional statements of C++ ? 35. Name the looping statements of C++ ? 36. Name the break control statements of C++ ? 37. Explain the usage of IF with an example ? 38. Explain the usage of IF-ELSE with an example ? 39. Write a program segment to print the maximum out of entered three numbers ? 40. What is the output of the following statements : (a) int i=20; cout<=y)||(!(z==y)&&(z #include main() { int x,y,z; x=y=10; z=x%y; cout< #include http://www.cbseguess.com/-------------------------------------------------------------------------------------------------------www.cbseguess.com Other Educational Portals www.icseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com main() { clrscr(); //Given to clear the screen for (int i=1;i<5;i++) cout< #include main() { clrscr(); for (int i=1;i<5;++i) cout< #include main() { clrscr(); for(i=5;i>0;– – i) cout< #include http://www.cbseguess.com/-------------------------------------------------------------------------------------------------------www.cbseguess.com Other Educational Portals www.icseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com main() { clrscr(); for (int i=5;i>0;– – i) { cout< #include main() { int num,a,b,c,d; clrscr(); num = 12; for (a=1;a #include main() { int num,i,b,c,e=0; clrscr(); //used to clear the screen num = 4567; http://www.cbseguess.com/-------------------------------------------------------------------------------------------------------www.cbseguess.com Other Educational Portals www.icseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com b = num; for (i=0;i<=num;i++) { num=b; b=num/10; c=b*10; d=num-c; if (num==0) break; cout< #include main() { clrscr(); int a,b; a=4; b=0; int c=0; for (b=1;b<=a;b++) { a=a+b; c=c+a; cout< #include main() { int a,b,c,d,j,x,i; for (i=0;i<=5;i++) http://www.cbseguess.com/-------------------------------------------------------------------------------------------------------www.cbseguess.com Other Educational Portals www.icseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com for (j=1;j<=1;j++) { cout< #include void main() { int a,b,c,d,e; c=1; a=5,b=5; switch(c) { case 1: d=a+b; break; case 2: d=a-b; } cout< main() { int a,b,c,d,j,x,i; for (i=0;i<=5;i++) for (j=1;j<=1;j++) { cout< main() { http://www.cbseguess.com/-------------------------------------------------------------------------------------------------------www.cbseguess.com Other Educational Portals www.icseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com int a,b,store=0,c; a=6; for (b=2;b<=a-1;b++) { c=a%b; if (c!=0) store = store + b; } cout< main() { int a,b,store=0,c; a=6; for (b=2;b<=a-1;b++) { c=a+b; if (c%2 == 0) store = store + b; } cout< main() { int a,b,store=0,c; a=6; for (b=2;b<=a-1;b++) { c=a+b; if (c%2==0) store = store + c; } cout< main() { long aa,b,store=5,c; aa=6; for (b=1;b<=aa+2;b++) { c=aa-b; if (c%2==0) store = store -c; } cout< main() { int num,act,i; num=3; act=5; for (i=1;i<=num;i++) { act = act*i; } cout< #include int fact(int a); main() { int b,f; b=4; f=fact(b); cout< #include int sum (int a); main() { int b,f; b=5; f=sum(b); cout< #include int repeat(int a); main() { int b; cout< #include #include #include void len(char boy[10]); main() { int b; char bboy[10]; for (int i=0;i<10;i++) bboy[i]=‘s‘; http://www.cbseguess.com/-------------------------------------------------------------------------------------------------------www.cbseguess.com Other Educational Portals www.icseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com cout< #include #include #include main() { int b; char bboy[10]; cout< #include #include #include main() { int b; char bboy[10]; clrscr(); bboy[0]=‘d‘,bboy[1]=‘e‘,bboy[2]=‘f‘,bboy[3]=‘g‘; len(bboy); getch(); return 0; } void len(char boy[10]) { int l,v=0; l=strlen(boy); for (int i=0;i<=l;i++) { if ((boy[i]==‘a‘)||(boy[i]==‘e‘)||(boy[i]==‘i‘)||(boy[i]==‘o‘ || (boy[i]==‘u‘)) v=v+1; } cout< #include main() { int number[10],a,b,c,d; clrscr(); for(int i=0;i<10;i++) { number[i]=i+i; } clrscr(); for(int j=0;j<9;j++) { for(int k=j+1;k<10;k++) { if (number[j]>number[k]) { a=number[j]; number[j]=number[k]; number[k]=a; } } } cout< #include main() { int number[10],a,b,c,d; clrscr(); http://www.cbseguess.com/-------------------------------------------------------------------------------------------------------www.cbseguess.com Other Educational Portals www.icseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com for(int i=0;i<10;i++) { number[i]= i*i; } cout<<―\a\a‖; clrscr(); for(int j=0;j<10;j++) { for(int k=0;k<9;k++) { if (number[k]>number[k+1]) { a=number[k]; number[k]=number[k+1]; number[k+1]=a; } } } for(i=0;i<10;i++) cout< #include #include main() { int number[10],a,b,c,d; clrscr(); for(int i=0;i<5;i++) { number[i]= pow (i,2); } cout<<―\a\a‖; clrscr(); http://www.cbseguess.com/-------------------------------------------------------------------------------------------------------www.cbseguess.com Other Educational Portals www.icseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com for(int j=0;j<5;j++) { for(int k=0;k<4;k++) { if (number[k] #include #include main() { int item[5],a,b,c,d; clrscr(); for(int i=0;i<5;i++) { item[i]= pow (i,2); } cout<<―\a\a‖; clrscr(); for(int j=0;j<5;j=j+2) { for(int k=0;k<4;k++) { if (item[k] #include int main() { int val=8; clrscr(); cout<<‗\n‘<< (val = 9); getch(); return 0; } (g) Give the output of the following program : #include #include int main() { int value = 98; clrscr(); cout<<‗\n‘<< (value == 9); getch(); return 0; } (h) Give the output of the following program : #include #include int main() http://www.cbseguess.com/-------------------------------------------------------------------------------------------------------www.cbseguess.com Other Educational Portals www.icseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com { clrscr(); int one_char; one_char = ‗a‘; cout<<(char)one_char << ‗\n‘; cout << (int) one_char+10; getch(); return 0; } (i) Give the output of the following program : #include #include int main() { clrscr(); char *one_char; one_char = ―internet‖; cout<<(char)one_char[1]<< ‗\n‘; cout << (int) one_char[2]+10; getch(); return 0; } (j) Give the output of the following program : #include #include int main() { int number= 5; int total = 0; int count = 0; clrscr(); while (number != 0) { number=number-1; if(number == 0) cout << ―Thank you. Ending routine.\n‖; else count++; http://www.cbseguess.com/-------------------------------------------------------------------------------------------------------www.cbseguess.com Other Educational Portals www.icseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com total += number; } cout << total << ‗\n‘; cout << count << ‗\n‘; cout << total /count << ‗\n‘; getch(); return 0; } (k) Give the output of the following program : #include #include int main() { clrscr(); int number, total; for (number = 2, total = 2; number < 6; total += number, number++); cout< #include main() { int a=0; clrscr(); char *name; name=‖Internet Browsing‖; for(a=0;a<=8;a++) cout< #include main() { void arm(int); clrscr(); int num; num=191; arm(num); getch(); return 0; } void arm(int n) { int number,sum=0,dg,dgg,digit; number=n; while(n>0) { dg=n/10; dgg=dg*10; digit=n-dgg; cout< #include main() { void arm(int); clrscr(); http://www.cbseguess.com/-------------------------------------------------------------------------------------------------------www.cbseguess.com Other Educational Portals www.icseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com int num; num=153; arm(num); getch(); return 0; } void arm(int n) { int number,sum=0,dg,dgg,digit; number=n; while(n>0) { dg=n/100; dgg=dg*10; digit=n-dgg; cout< #include #include main() { clrscr(); char *name; int l; name=‖SHANA‖; l=strlen(name); cout< #include #include #include main() { clrscr(); char *name; int l=0; name=‖dheeraj@lw1.vsnl.net.in‖; l = strlen(name); l=l-1; cout<=0;i=i-2) { cout< #include #include #include #include main() { clrscr(); char *name,*name1; int l=0; http://www.cbseguess.com/-------------------------------------------------------------------------------------------------------www.cbseguess.com Other Educational Portals www.icseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com name=‖Windows98"; l = strlen(name); cout<=65;asc—) { for(int i=0;i #include main() { int num=0, i=0,barr[10],a=0; clrscr(); num=10; int nnum=num; while (num>0) { a=num%2; i=i+1; barr[i]=a; num=num/2; } cout<=1;k– – ) cout< #include void main() { clrscr(); for ( int i=1;i<=5;i++) { if ((i%2)==0) cout< #include #include #include #include #include main() { clrscr(); char *name,ans; int l=0,count=0,max=0; name=‖Multimedia‖; l = strlen(name); cout< #include #include #include main() { clrscr(); char *name; int l=0,c=0; name=‖the computers in the city of the nawabs‖; l = strlen(name); cout< #include #include http://www.cbseguess.com/-------------------------------------------------------------------------------------------------------www.cbseguess.com Other Educational Portals www.icseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com void main() { clrscr(); int i,a; a=9; for (i=2;i<=a-1;i++) { if ((a%i)==0) cout< has secured highest marks as 169. To list the names in ascending order of marks, with fields of rollno, names and marks. 170. To list the names in descending order of marks, with fields of names and marks from the student table : 171. To insert the following data into the student table : 111,‖Yogita‖,89. 172. To delete all records from student table with marks = 25. 173. To increase the marks of all students by 10, for name = ―Shruti‖. 174. To count the total number of records in the table student. Write SQL commands for the following taking in view the following table as SCHOOL: No. Name Age Department Sex 1 Ankit 45 Comp.Sc. M 2 Sumit 32 History M 3 Amit 22 Geog M 4 Suchitra 23 Maths F 5 Ankita 22 Hindi F 6 Shruti 21 Comp.Sc. F 7 Raksha 22 Hindi F 8 Priya 33 Maths F 175. To show all information about the members of the Hindi Department. 176. To list the names of female members who are in Hindi department. http://www.cbseguess.com/-------------------------------------------------------------------------------------------------------www.cbseguess.com Other Educational Portals www.icseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com 177. To list names of all members with the ascending order of their ages. 178. To display member‖s name, age and department name of males. 179. To count the number of members with age >21. 180. To insert a new row in the SCHOOL table with the following data : 9, ―Pinto‖,31,‖Maths‖,‖M‖ Give the output of the following, considering the above table : 181. SELECT COUNT (DISTINCT AGE) FROM SCHOOL; 182. SELECT MAX(AGE) FROM SCHOOL WHERE SEX = ―M‖; 183. SELECT AVG(AGE) FROM SCHOOL WHERE SEX =‖M‖; 184. SELECT SUM(AGE) FROM SCHOOL WHERE SEX=‖M‖; Consider the following table OFFICE and frame queries for the following: S.No. Emp.Name Age Department Sex B-Pay 1 Ankit 45 Comp.Sc. M 2390 2 Sumit 32 History M 2323 3 Amit 22 Geog M 5654 4 Suchitra 23 Maths F 5644 5 Ankita 22 Hindi F 2322 6 Shruti 21 Comp.Sc. F 3323 7 Raksha 22 Hindi F 4321 8 Priya 33 Maths F 2388 185. Find the Department for Employee Ankita. 186. Display the records of all employees who belong to the Hindi department. 187. Display the detailed table for all employees having Basic Pay greater than 3000. 188. Display the list of employees who belong to the Maths department in ascending order of ages. http://www.cbseguess.com/-------------------------------------------------------------------------------------------------------www.cbseguess.com Other Educational Portals www.icseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com 189. Display the list of employees who belong to the Hindi department in descending order of ages. 190. Find the total number of records present in the table Office. 191. Find the total number of employees greater than 30 years of age. 192. Find the total number of employees Belonging to the the Computer Science department. 193. Find the total of Basic Pay of the employees : 194. Find the maximum of the Basic Pay being paid to the employees. 195. Modify the record having name as ―Shruti‖, by increasing the Basic Pay by Rs. 100. 196. Modify all the records by increasing the Basic Pay by Rs. 200. 197. Insert a new record with the following information : 9 Poonam 30 Maths F 2348 198. Delete the record having Employee name =‖Ankit‖. 199. Delete all the records belonging to the Hindi Department. Boolean Algebra : 200. Define Binary logic ? 201. What is a Boolean Operation ? 202. Define a boolean function ? 203. Define a Boolean Expression ? 204. Name the three primary and secondary operators of Boolean Algebra ? 205. State any four postulates of boolean algebra ? 206. Define Idempotent Law ? 207. Define Absorptive Law ? 208. Define Involution Law ? 209. What is De Morgan‘s Theorem ? 210. State the principle of duality ? 211. State the steps required to calculate the dual of any expression ? 212. State the dual of : A+A‘ = 1 213. What is a Boolean Function ? 214. Define the Sum Of Products format of a boolean expression ? 215. Define the Product of Sums format of a boolean expression ? 216. What is a Karnaugh map ? 217. Draw the truth table of NAND gate ? http://www.cbseguess.com/-------------------------------------------------------------------------------------------------------www.cbseguess.com Other Educational Portals www.icseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com 218. Define the XNOR gate ? 219. What is a Half Adder ? 220. What is a Full Adder ? 221. Differentiate between an Encoder and a Decoder ? 222. What are Universal Gates ? Name any two Universal Gates ? 223. Define the working of a XOR gate ? 224. What is a Multiplexer ? 225. What is a Multivibrator ? 226. What is a Minterm ? 227. What is a Maxterm ? 228. What is a Canonical Sum of Products ? 229. What is a Canonical Product of Sums ? 230. State the total number of combinations possible for a three input gate ?

Description
This content is useful for CBSE Students

Comments

Want to learn?

Sign up and browse through relevant courses.

Name:
Your Email:
Password:
Country:
Contact no:


Area code Number
Subjects you are interested in:
Word verification: (Enter the text as in image)


Sign Up Already a member? Sign In
I agree to WizIQ's User Agreement & Privacy Policy
62 Followers

Your Facebook Friends on WizIQ

Give live classes, create & sell online courses

Try it free Plans & Pricing

Connect