Pages

Thursday, 17 May 2012

Summer Holidays HomeWork computer Science(III-XII) 2012


(Holidays Homework)-2012
ClASS –III                                                          Subject:- Computer Sc.
Ø  Learn and Prepare Lesson-1 for class Test in July.
Ø  Project:-

  Make a model using cardboard, coloured sheet and other required material according to your roll numbers

Roll no.1-5                Monitor                     Roll no.11-15              Speakers
Roll no. 16-20              Mouse                     Roll no. 6-10             Keyboard
Roll No. 21-25           CPU                           Roll No. 26-30           Headphones
Roll No. 31-35          Web Camera             Roll No. 36-40              CD
Roll No. 40 onwards  MicroPhone

Write five lines about your project on coloured A4 sheet and also learn for ‘Show and Tell Competition’.
Ø Activity:- Solve the following crossword search using the help box.














Help Box:-









 (Holidays Homework)-2012
ClASS –IV                                                          Subject:- Computer  Sc.
Ø  Learn and Prepare Lesson-1 for class Test in July.
Ø  Project:-
Collect the pictures related to topics mentioned below and make a collage on full Cartridge sheet with information.
                 Roll no.1-15                            Applications (uses) of computer
                 Roll no. 16-30                         Various Memory Devices
                 Roll No. 31-45                         Output Devices
                 Roll No. 45 Onwards                    Input Devices
Ø Activity:- Solve the following crossword search using the help box.
Computer Wordsearch
V
D
O
T
U
M
I
A
D
Z
I
V
J
Q
K
Y
Y
F
I
E
V
R
X
X
D
Y
K
Y
R
J
I
N
U
R
Q
P
W
M
W
Y
K
A
J
B
S
Z
P
L
A
H
D
E
H
T
E
A
N
U
R
I
Q
O
K
V
G
K
W
M
C
W
B
E
S
O
B
Q
W
E
F
E
Z
B
O
X
O
D
M
A
D
A
O
R
E
J
U
J
T
H
U
Z
Z
Y
H
A
M
I
M
C
N
A
U
C
N
Q
L
T
F
T
S
S
X
E
E
U
H
G
C
B
U
M
R
S
O
V
O
L
Z
A
X
K
R
K
N
I
Z
I
O
E
O
B
O
H
H
L
S
N
U
P
C
V
D
C
R
A
E
T
M
W
S
J
S
C
P
X
R
A
O
T
G
E
C
I
N
B
D
A
P
I
D
Y
F
U
D
B
E
T
O
Z
U
S
O
T
Y
O
O
L
A
R
C
C
N
O
A
Z
K
X
R
W
T
U
K
S
R
G
C
C
C
S
O
R
P
T
E
Y
A
O
E
I
A
O
R
Y
S
A
R
A
T
I
H
J
O
B
H
E
E
E
N
I
V
M
C
O
I
I
A
M
D
T
L
H
E
P
J
E
P
O
N
T
J
O
U
J
C
T
B
E
I
C
R
Z
R
C
H
Y
S
Q
A
P
E
N
K
Y
A
C
W
R
S
B
L
I
B
C
T
O
C
I
C
W
J
I
S
J
E
N
A
A
K
V
N
O
Q
A
H
O
N
V
S
H
C
T
R
W
B
L
I
G
H
T
P
E
N
J
Z
Z
R
E
U
F
Q
O
D
K
C
Q
G
M
E
V
O
K
I
D
X
J
W
Q
H
T
E
R
L
P
R
J
S
R
E
Z
T
H
B
F
T
P
W
F
B
T
M
Y


Help Box:-
BARCODE                            COMPACTDISK                   DIGITALCAMERA                     HEADPHONES
JOYSTICK                           KEYBOARD                              LIGHTPEN                   MONITOR
PRINTER                              PROJECTOR                          SCANNER                    SOUNDCARD                SPEAKERS                                TOUCHSCREEN                     WEBCAM                      MOUSE                                  



(Holidays Homework)-2012
ClASS –V                                                          Subject:- Computer Sc.
ØLearn and Prepare Lesson-1 for class Test in July.
Ø   Project:-
 Collect the pictures and paste them in A4 Pastel sheet
Roll no. 1-10                          Memory Devices
Roll no. 11-20                        Output Devices
Roll No. 21-30                        Different Types of software
Roll No. 31-45 Onwards               Types of Computer




                                                                                                                                                                                    
Ø Assignment:-

 Do this assignment in your Computer notebook with heading holidays Homework (2012)



Q1.     Another name for computer programs and information.

A.
Output

B.
Process

C.
Software

D.
CPU

Q.2)   The part of a computer that allows the user to view information on a screen.

A.
Mouse

B.
RAM

C.
Motherboard

D.
Monitor

Q.3) 
This part sends signals to other parts of the computer to tell them what to do.

A.
CPU

B.
Speakers

C.
Icon

D.
Hard drive

Q.4)  This is a flat input device that usually sits in front of the monitor.

A.
Keyboard

B.
Tower

C.
Mouse

D.
Laptop

Q.5) 
This memory is for short term storage and is lost when the computer is turned off.

A.
Icon

B.
CPU

C.
Hard drive

D.
RAM

Q.6)  A name for a small picture or image representing a folder or a program.

A.
Graphic

B.
Icon

C.
Software

D.
Desktop

Q.7) 
This computer is small enough to fit on your lap and is very portable.

A.
Laptop

B.
Tower

C.
Computer

D.
Motherboard

Q.8)This part allows the user to hear information from the computer.

A.
Monitor

B.
Software

C.
Input

D.
Speaker







Q.9) Another name for all the parts of a computer.

A.
Process

B.
Hardware

C.
Monitor

D. Software
Q.10)  This input device will allow the user to move the pointer on the screen.
A.
Mouse

B.
Speaker





C.
Icon

D.
Output






Q.11)  This device allows the user to record or send their voice into the computer.

A.
Monitor

B.
Microphone

C.
Output

D.
Speaker

Q.12) This part does the real calculation, moving and processing of information.

A.
CPU

B.
IBM

C.
RAM

D.
Hard Drive

Q.13) 
This is a type of computer that sets on a table or desk.

A.
Keyboard

B.
Laptop

C.
Hard Drive

D.
Desktop

Q.14)  What are the 3 main things a computer does?

A.
Input

B.
Save

C.
Output

D.
Process

E.
Reboot

Q.15)   This part stores data, programs, settings, and the operating system while the computer is off. While it is on, it spins inside the computer reading and writing data.

A.
CPU

B.
Motherboard

C.
RAM

D.
Hard Drive

Q.16) 
Select 2 input devices

A.
Microphone

B.
Printer

C.
Keyboard

D.
Speaker

Q17. Select 2 output Devices

A.
Scaner

B.
Speaker

C.
Printer

D.
Microphone

E.
Monitor



Q.18) 
Name of an Operating System

A.
Dell

B.
Windows XP

C.
Yahoo

D.
Microsoft




(Holidays Homework)-2012
ClASS –VI                                                          Subject:- Computer Sc.
ØLearn and Prepare Lesson-1 for class Test in July.
Ø   Project:-
Draw and Colour the Opening Screen on the given topic according to your Roll No. on cartridge sheet
Roll no. 1-10                    Windows Explorer with lable the components
Roll no. 11-20         Microsoft Word
Roll no.21-30          Ms-Paint
Roll no. 31-40         Microsoft- Excel
(Roll no. 41 Onwards)  Microsoft -PowerPoint
Ø Assignment:-

 Do this assignment in your Computer notebook with heading holidays Homework (2012)


Q1. Write the name of any two Operating System.
Q2. Which software allow us to view all the files and folders which are saved in  a computer.
Q3.Write all the options of File Menu  option..
Q4. In which menu options cut and copy options are available?
Q5. Write all the modes to views of Explorer Window.
Q6. Name the view that displays the contents of any drive/folder arranged as small icons in columns?
Q7. Name the view that displays the contents of a drive /folder with details, such as their size, type and date modified?
Q8. How many panes are available in Explorer Window?
Q9. What does top level display?
Q10. Name the process in which, by clicking the minus (-) sign, it changes to plus (+) sign and contents of the folder get hidden.
Q11. Name the process in which by clicking the plus (+) sign, it changes to minus (-) sign and folder contents get displayed.
Q12. Write the shortcut keys to cut the selected file/folder.
Q13. Write the shortcut keys to copy the selected file/folder.
Q14.Write the shortcut keys to paste the selected file/folder.
Q15. What is the extension of Ms-Paint file?
Q16. What is the extension of Ms-Word file?
Q17. What is the extension of Ms-Powerpoint  Presentation?





             


(Holidays Homework)-2012
ClASS –VII                                                          Subject:- Computer Sc.
ØLearn and Prepare Lesson-1 for class Test in July.
Ø   Project:-
Make a PowerPoint Presentation on the given topics and submit it on E-mail ID with your class, section, rollno and name. E-mail ID is  davcpnrl_40@hotmail.com
Roll no.                         Topic
  1-8                                Types of Computer
  9-16                              IPL Matches
  17-24                            Applications of Computer
  25 –32                 Famous Personalities in the field of Computer
  33- 40                  Input –Process-Output-Memory Devices
  41 onwards           Applications of Internet 
Ø  Assignment:- Do this assignment in your computer notebook with heading holidays Homework. (2012)
1. Mnemonic a memory trick is used in which of the following language?
a. Machine language                                              b. Assembly language
c. High level language`                                           d. None of above
2. The translator program used in assembly language is called
a. Compiler                                                             b. Interpreter
c. Assembler                                                           d. Translator
3. Resemble to commonly used English language:-
a. Machine language                                              b. Assembly language
c. High level language                                            d. None of the above
4. Which of the following is called low level languages?
a. Machine language                                              b. Assembly language
c. Both a and b                                                        d. None of above
5. A compiler is a translating program which
a. Translates instruction of a high level language into machine language
b. Translates entire source program into machine language program
c. It is not involved in program’s execution                           d. All of above
6. Which of the following is machine independence program?
a. High level language                                            b. Low level language
c. Assembly language                                             d. Machine language
7. Which statement is valid about interpreter?
a. It translates one instruction at a time               b. Object code is saved for future use
c. Repeated interpretation is not necessary          d. All of above
8. CD-ROM is a
a. Semiconductor memory                                     b. Memory register
c. Magnetic memory                                              d. None of above





9. Which of the following is a primary storage device?
a. Magnetic tape                                                    b. Magnetic disk
c. Optical disk                                                         d. None of above
10. Which of the following is a secondary memory device?
a. Keyboard                                                             b. Disk
c. ALU                                                                      d. All of the above
11. The difference between memory and storage is that memory is … and storage is …
a. Temporary, permanent                                      b. Permanent, temporary
c. Slow, fast                                                            d. All of above
12. The first electronic computer in the world was
a. UNIVAC                                                               b. EDVAC
c. ENIAC                                                                  d. All of above
c. BCD                                                                      d. All of above




                                                                     Holidays  Home work  -2012   
                  Class    -  VIII
                  Subject  :  Computer Sc.

Ø  Revise  &   Learn   Ch- 1 . Prepare  the  chapter   for    Test  in  July.
Ø  Activity :
                             Create  a  web Page  showing  the  following   information .
                               Types  of  Pollution
Air Pollution
Contamination  of  air  due  to  the  exhaust  of  vehicles, smoke  from  factories , fly ash  from  thermal  plants  or  natural  phenomena  like  volcano  is  known  as  air  pollution.
Water  Pollution
When  toxic  substances  enter  lakes, streams , rivers ,oceans and  other  water   bodies, they  get  dissolved   or  lie  suspended  in  water  . This  results  in  water  pollution.























               Write    HTML  code  in  the  notebook. And  also   draw   the   web pag e  in  the  notebook.


Ø  Assignment :- Do this assignment in your computer notebook with heading holidays Homework. (2012)
1.        Differentiate    between      web  browser   and  web  server.
2.        How  is  the  web page  is  different  from   home  page  visit home page and web page of any kids site and  collect information .
3.       Open   the   website  www.nationalbalbhavan.nic.in.
Visit  any  of  the  5  web  pages  and    write  their  URLs.
4.       Name   different  types  of  protocols  and  explain   each  of   them.
5.       What  is  a  URL  and   defines  its  parts.

Ø  Project : -
     Roll no.                         Topic
1 – 15                   Collect  the  information  about  different  DAV Schools from  the  web using  web browse Mozilla  firefox
16-30                     Visit  the  web site  WWW.lic.in   then  find  the  content   from  the  Home  page  of  this   
                               website.
31 On wards       Visit  the  web site  WWW.lic.in   then  collect  the  information  on  different  Insurance 
                             Plans  available  on  different  web  pages of  this  websites.
 Submit  it to email –id (davcpnrl_40@hotmail.com)   latest by      7h July  2012.





(Holidays Homework)-2012
ClASS –IX                                                  Subject:- Computer Sc.
ØLearn and Prepare Lesson-1 for class Test in July.
Ø    Project:-
Make a  project using MS-Word on the given topics and submit it on E-mail ID with your class, section, rollno and name. E-mail ID is davcpnrl_40@hotmail.com
Roll no.                         Topic
1 – 10                   News Letter (Front Page of News Paper in Column style)
11-20                              Advertisement (Cosmetics Item / Any Electronic Items))
21-30                              Brochures
30 -40                             Bio- Data
40 Onwards            Posters (Save Environment, Clean & Green Delhi, Save Water,
Do not use Plastic Bags,Save Electricity)        
ØAssignment:- Do this assignment in your computer notebook with heading holidays Homework. (2012)

1.Where as a computer mouse over the table surface ,the trackball is
a)Stationary                                  b)Difficult to move
c)Dragged                                     d)Move in small stems
2. Which computer memory is used for storing programs and data currently being processed by the CPU?
        a)Mass memory                             b)Internal Memory
        c)Non-Volatile Memory                  d)PROM
3. Which of the following is a secondary memory device?
       a)Keyboard                                    b)Disk
       c) Slow and Fast                            d)All of above
4. The difference between memory and storage is that memory is ……………….and storage is …………
      a) Temporary,Permanent                b)permanent,Temorary
      c) Slow ,fast                                    d)All of above
5. The first electronic computer in the world was
      a)UNIVAC                                       b)EDVAC
      c)ENIAC                                          d)all of above
6. Which was the computer conceived by Babage?
      a)Analytical Engine                         b)Arithmetic Machine
     c)Donald Knuth                                c)All of above
7. Microprocessor can be used to make
      a)Computer                                    b)Digital System
      c)calculators                                    d)All of above
8. A computer program that converts an entire program into machine language at one time is called a/an
       a) Interpreter                                b) CPU
       c) Compiler                                    d) Simulator
9. MICR stands for
       a) Magnetic Ink Character Reader   b) Magnetic Ink Code Reader
       c) Magnetic Ink Cases Reader         d) None







10. CD-ROM stands for
        a) Compactable Read Only Memory             b) Compact Data Read Only Memory
        c) Compactable Disk Read Only Memory    d) Compact Disk Read Only Memory

11. ALU is
      a) Arithmetic Logic Unit                               b) Array Logic Unit
      c) Application Logic Unit                              d) None of above
12. WAN stands for
      a) Wap Area Network                                  b) Wide Area Network
      c) Wide Array Net                                        d) Wireless Area Network
13. ___________is the most powerful computer.
       a) Mainframe Computer                             b) Super Computer
        c) Laptop Computer                                  d) None of the above
14. All processing of computer is done in
       a)  Monitor                                     b) CPU
       c) Keyboard                                               d) RAM
15. RAM stands for
       a) Random Access Memory             b) Read Access Memory
       c) Random Allowed memory                       d) Random Added Memory










(Holidays Homework)-2012
Subject -  Computer
Class – X

Q1.         FTP  service   is  used  for
a)      Video  Conferencing                                                               b)  Remote  login
c)       File  Transfer                                                                              d)  sending mails
Q2.         The   incoming  mails  are  stored in
a)      Outbox                                                                                         b) Inbox
b)      Sent Box                                                                                      d) Trash

Q3.         What  is  the  term   used  for  a  machine  that  contacts a server  for  information?
a)      Client                                                                                            c) master
b)      Host                                                                                               d)  ISP
Q4.         HTML  uses
a)       Pre- specified tags                                                                  c) User- defined                 tags
b)        Tags  only  for  linking                                                           d)  fied  tags  defined  by  the  language
Q5.         World Wide  Web
a)      Is  another  name  for  the  internet                                 c) a  collection  of  linked  information
residing on computers  connected  by  the  internet
b)      World  wide  connection  for  computers                       d) a  collection  of  world  wide   
                                                                                                            information.
Q6.         Which  language  is  used  to  create a web page ?
a)      HTTP                                                                                              c)  HTML
b)      URL                                                                                                                d) FTP
Q7.         Which  of  these  domains  is  restricted  to  qualified  Organizations?
a)       . com                                                                                            c) .org
b)      .net                                                                                                                d) .edu
Q8.         A  Search  engine  is  a  program  to  search   for
a)      Information                                                                                                c)web Pages
b)      Web pages  for  specified index  terms                           d) web  pages  for  information  using   
                                                                                                specified  search  terms
Q9.         What  can  you  do  with  the  internet?
a)      Exchange  information  with  friends .                             c) Access  pictures , sounds, video clipping
b)      Find  divers perspective on  issues from a  global  audience  d)  All of  above

Q10.       A  popular  service  for  sending  or  receiving  mail  on  the  internet  is
a)       The  E-mail                                                                                 c) the  google
b)      The FTP                                                                                        d) none  of  the  above
Q11.       Which  is  the  odd  one  out ?
a)       FTP                                                                                                c) URL
b)      TCP/IP                                                                                          d)  HTTP
Q12.       A web  page  is  located  using a
a)       Universal Record Linking                                                      c)   Universal Record Locator
b)      Uniform Resource Locator                                                   d)  Uniformly Reachable  links

Ø  Assignment :-  Do this assignment in your computer notebook with heading holidays Homework. (2012)

1.        Define  the   following  terms:
a.       ARPANET                             b.    WWW
C     Server                                   d      web  server
2.       What  is  a  web  page   ?
3.       How  is  a  web  portal  different  from   websites?
4.       What  is  meant  by ISP  ?  Give  examples  of  some  ISPs.
5.       Difference  between  a  blog  and a  normal  website.
6.       What  is  the   role  of  web  server   in  the  working  of   Internet?
7.       What  is  a  web  page?
8.       What  is  the  Internet?
9.       What  is   Modem?
10.   What  is  the  role  of TCP/IP  protocol  in  the  working  of   the  Internet?



Project :-  Make  a  chart on the  following  topics  according     to  your   Roll No.

               
 1-10           Different  types of  websites
 11-20         Make a comparison  chart  of the  features of a
                        web potal,blog  and  a  web  directory
 21-30         Make  a  comparison  chart  of  different  types  
                        of   protocols
 31-40         E-Reservation Steps  for  getting  Railway or  Air
                       ticket using any govt. e-reservation website
 41              Latest  Technologies   used  to  transfer  Data














                                                Holidays   Homework - 2012
                                                                                       Class  - XI
            (Comp. Sc.)
1.            Question  Bank :-
a)      Define  Software . Briefly define  its types.
b)      What  is an  IPO  cycle?
c)       Differentiate  between  Application  software  and  system software  give  example.
d)      Explain  the  need  of  Operating System.
e)      Differentiate  between  Compiler  and  Interpreter.
f)       How  many  magabytes  make  1  terbyte?
g)      What  is  compiler?  How  it is  different  from  Interpreter?
h)      Name  two  super  computer  designed  by  India.
i)        What   are  the  different  types   of  computers? Expain  each  of  them  in  detail.
j)        Explain  different  generation  of  computers.
k)      What  is the  difference  between   compiler  and  assembler?
l)        Write  about  third  generations  and  fourth  generation  of  computer.
m)    Suggest  some  comments (two)  that  can  be  added  in  following :
Program  code:

Cin>>p;
Cin>>r;
Cin>>t;
Float  si=  p*r*t/100;
Cout<<”si= Rs.   “<<si;

n)      What  is  the  difference  between  void main ()   and  int  main ()?
l) Identify  the  correct  identifiers
(i)AS_G_D           (ii)   L wer             (iii)  student_name         (iv)   S.I.                                (v)  %percentage


2.       Write  and Execute  the  following program  in C++
a)            To  input   marks  of  three  Subject   calculate total  and  print   the  percentage
                of  marks.
              b)              To  generate   the  output   on  screen.
                                3
                                6
                                5             
             c)               To  enter  the radius  of  circle   and  prints  its  area.
             d)               To  enter  the  side  of  a  square  and  prints  its  area.
             e)               To  print  volume  of  a  cylinder.
             f )               To  Swap  the  two  numbers  using  third  variable.
             g)               To  input  the  two numbers  find    the  quotient  and  remainder  of two numbers.
            
3.     Do   the  complete  Exercise  on  Page  182, 183  in  assignment  note book.
4.      Learn L-1 &  L-6  . Prepare it  for  first  Unit test  to  be  held  in July.





 5.       Project  :-
             Prepare   a  Power Ponit  Presentation   on  the  following  topic  according  to  your  Roll No.
(1)    Types  of  Printer(1-10)
(2)    Operating System(11-20)
(3)    Internet(21-30)
(4)    Input/Output  Devices(31 onwards)
It   should include minimum of 12-15 slides of   content:-
(i)                  Title
(ii)                Table  of  Content
(iii)               Acknowledgement
(iv)              Hardware  &  Software requirement
(v)                Certificate
(vi)              Inerfacing  &  Definition
(vii)             Coding
(viii)           Screening
(ix)              Bibliography
·          Submit  CD  of  your  presentation
·         Submit  Project  file  with  Printouts.






                                  Summer Holidays Homework(2012-2013)
                                          Class –XI
                                   Subject –Informatics Practices

 Attempt all the questions in a separate holidays’ homework notebook
Question Bank  :

Q1. Write full form of following :
       MICR, OCR ,TB ,OMR ,PB , ALU, DMP,VDU
Q.2  Draw a labeled  diagram of functional components of  a computer.
Q.3.What function is performed by ALU and CU each.
Q.4. Compare compiler and interpreter.
Q.5 What is the basic function of memory? What is the measuring unit of memory?
 Q.6 Arrange the following printers in terms of speed and performance:  
          Dot Matrix Printer ,  Laser  printer, Desk jet printer
Q.7  Identify the input and the output devices :
         Scanner, printer Bar code reader smart card reader, plotters, Screens web  camera
Q.8 What is function of a web camera?
Q.9 What is address bus? What is data bus.
Q.10  Name the two types of computer memory. Also give two points of differences between the two.

Q.11 Name the system software which loads all the program ,coordinates the input and output devices .
Q.10. What is function of BIOS.
Q.11  Name some of the commonly used operating systems
Q.12 What is difference between compiler and interpreter?
Q.13 What is a word processor .Give examples.
Q.14 What are utility softwares. Give examples.
Q.15 What is compression utility.          
Q.16. What is need of operating system  .
Q.17 What are functions of operating system.
Q.18.What  is device driver .What is need of it?
Q.19  What is backup utility.
Q.20 What is antivirus software ? Name any two .
Q.21 What is purpose of  text editor? Name any two.
Q.22 What do you mean by presentation software. Give two examples.
Q.23 What do you mean by spreadsheet software. Give two examples.
Q.24 What is a communication bus?
Q.25 What  is purpose of data bus. How many wires it has?
Q.26 What  is purpose of address bus. How many wires it has?
Q.27 What  is purpose of control  bus. How many bits can it transmit ?





II  Revise and learn  chapters done in the class.  Complete all the assignments given in the class .


Project Work

             Make  a powerpoint presentation on any on topic :
i)                   Types of customised application software
ii)                  Operating system
iii)                Ports and types of ports
iv)               Communication bus and its type
  Note :  Project is to be mailed to  the e-mail id   davcpnrl_40@hotmail.com                latest by 20th June2012.
Your Project should cover the following specifications :
         
·         Project Title(name of project, rollno,  class)
·        Acknowledgement
·        Certificate
·        Introduction  to project
·        Software and hardware required(Operating system also)
·        Project coding
·        Project screens(output)
·        Bibliography
·         
III  Make a chart on the following topics(any one)
i)                   Types of software
ii)                  Application software
iii)               System software






                           Summer Holidays homework(2012-2013)
                                          Class –XII
                                   Subject –Informatics Practices

    Question Bank  :
  Programming Language   -    JAVA
Q.1   What is procedural  programming ?How is it different from  object oriented programming? Q.2  What is  a class ? What is an object ?  Give examples ?
Q.3  What is Inheritance?  What is need of Inheritance ?
Q.4   Compare exit controlled and entry controlled loop.
Q.5 What is use of presence of break in switch  statement?
Q.6.What will be output of following code segment  :
     int num=20;
     if  (num==20)
          l1.setText(“equals”)
     else
         l1.setText(“not equal”);
Q.7  What is output of following code :
       jTextField1.setText(“Java”\n”Object “\t”Programming”\n);
Q.8 How many times the following loop is executed :
        for  (int a=50; a>=0; ++a)  {   l1.setText(a);   }
Q.9 Convert the following into equivalent  switch case :
      int a=Integer.parseInt(t1.getText());
      if  (a==1)
        l1.setText(“One”);
   else if (a==2)
          l1.setText(“Two”);
     else if (a==3)
          l1.setText(“Three”);
     else 
          l1.setText(“Four”);
Q.10.  Name any two native classes in Java  and also name one function of each.
Q.11   How is  data abstraction.How class in JAVA implement sit.
Q.12  What is  data encapsulation ? Show how a class implements it.
Q.13   Compare do while  and while  loop.
Q.14What is use of default  in switch  statement?
Q.15.What will be output of following code segment  :
     int x=10;
     if  (x>=10)
          l1.setText(“Allowed entry ”)
     else
         l1.setText(“Not allowed”);
Q.16What is output of following code :
       jTextField1.setText(“Informatics\tObject \nProgramming\n”);
Q.17 How many times the following loop is executed :
        for  (int a=100; a>=0; ++a)  {  tl1.setText(a);   }
Q.18 Convert the following into equivalent  switch case :
      int x=Integer.parseInt(t1.getText());
      if  (x==100)
        l1.setText(“Hundred”);
   else if (x==200)
          l1.setText(“Two Hundred”);
     else if (x==300)
          l1.setText(“Three Hundred”);
     else 
          l1.setText(“Invalid”);
Q.19.  Name  and also give purpose of any two functions in   Java  that belong to two classes?
Q.20.  Name the control to which the following methods belong to .Also explain the following methods.
i)    is Selected()        ii)setEnabled()   


HOTS   :

Q1. While working in Net beans,  Rajmeeta included a list box in the form. Now she wants the list of her` friends names to be displayed in it. Which property of listbox control should she used to do this?

Q2. What is the purpose of default clause in a switch statement?

Q3. How many times will each of the following loop execute? Which one of these is an entry controlled loop & which one is an exit controlled loop?
Loop 1
int  sum 0, i=5;                    
do                                     
{sum  += i; i++ ; } while (   i<5); 
Loop 2
int  sum 0, i=5;                    
while   (i<5)                                   
{sum  += I ; i++ ; }  
 

Q4. What will be the  content of jTextfield1 after executing the following code:
int num=6;
num=num+1;
If (num>5)
   jTextfield1.setText(Integer.toString(num));
else
jTextfield1,settext(Integer.toString(num+5));

Q5.What will be the contents of jTextArea1 after executing the following statement;
jtextarea1.setText(“object\n oriented \t programming”);

Q.6 Rewrite the following program code using switch statement :

if (d==1 )
day=”Monday”;
else
if (d==2)
day=”tuesday”;
else if (d==3);
day=”wednesday”;
else
if d=”-“;
day=”thursday”;

Q7.The following code has some errors (s). rewrite the correct code underlining all the corrections made:
int  i= 2 ; j = 5 ;
while  ( j  > i)
{j Textfield1.getText(“j is greater”) ;
j-- ; ++I ; }
Joptionpane.showMessageDialog(“Hello”) ;

Q8.What will be the contents of jTextfield1 and jTextfield2 after executing the following code :
string s = “sun micro system”;
jTextfield1.setText(s.length() + “ ”);
jTextfield2.setText(s.toLowerCase());
jTextfield2.setText(s.toUpperCase());
jTextfield2.setText(s.concat(“**”));

Q9. Glamour garment has developed a GUI application for their company as shown below :
                     The company accept payments in 3 mode – cheques  , cash and credit cards. The discount  given as per mode of payment is as follow.


Enter    bill amount


DISCOUNT


                                                                                Cash

                                                                                   Credit
                                                                                  Cheque

discount
Discount amt                                               Net















a) If the bill amount is more than 15000 then the customer gets an additional discount of 10% on bill amount
b) Write the code to make the textfields for discount (named txtDisc) and net amount (named txtnetamt) uneditable.
c) Write code to do the following :
i)
When “calculate discount”button is clicked the discount should be calculate as per the given criteria and it should be displayed in the discount textfield. Calculate net amount button(named btn calcnet amt)should also be enable.
ii) When”calculate net amount “button is clicked the net amount should be  calculated and it should be displayed in net amount textfi3eld.

Project Work
      System –Student information system, banking, payroll system
                     ATM ,Shopping Mall ,NDPL billing ,Hotel Reservation,

         Data collection and analysis :
      Choose any system a your project for XII (a batch of three maximum)
·        Collect data about the system (bills,reports,register)
·        Analyse the inputs and outputs

   System development (coding):

·        Create the tables in database with appropriate datatypes of field (Minimum two tables).
·        Design form (at least four) for the screens

 





  Note :  Note :  Project is to be mailed to  the e-mail id   davcpnrl_40@hotmail.com                latest by 20th June2012.

Your Project should cover the following specifications :
         
·         Project Title(name of project,rollno, class)
·        Acknowledgement
·        Certificate
·        Introduction  to project
·        Software and hardware required(Operating system also)
·        Project coding
·        Project screens(output)
·        Bibliography






                      Summer Holidays homework(2012-2013)
                                          Class –XII
                                   Subject – Computer Science

  Question Bank (HOTS) :
  Programming Language   -    C++

Q.1What is an abstract class ? How is it different from a concrete class?
Q.2 What is OO Paradigm? How is it different from Procedural Programming Paradigm?
Q.3 What is polymorphism ?Give an example in C++ to show how it is implemented in C++?
Q.4 What is inheritance? Give an example in C++ to show how it is implemented in C++?
Q.5 What are the advantages of OOP over traditional programming approach?
Q.6 What are the disadvantages of using OOP?
Q,.7 What is concept of simplifying a real worlds concept into essential elements called in OOP?
Explain this feature?
Q,.8 What is most fundamental approach of combining data and its associated operations called in  C++.
Explain this feature?
Q.9 What is a class? What is need of classes in C++?
Q.10 Which functions in classes in C++ are inline by default. What is significance of these functions?
Q.11.What happens if no constructor is provided by the user in a class .
Q.12  When is memory allocated to a constructor?
Q.13  Reusability of classes is one of the major properties of OOP. How is it implemented in C++?
Q.14  Define a class hotel with the following specifications :
          Private members :
             Roomno            integer
            Name                string
             Charges_day     float
             No_of_days      integer
             Compute()   -To calculate and return the total charges as charges_day *          No_of_days
           Public members :
                Getit()      -to enter the data members
               Showit()  to show the data member
               A constructor function to initialize the data members.







Q.15  Define a class Stock with the following specifications :
          Private members :
             Itemno                                         integer
             Item Name                                   string
             Price,qty,total  ,discount            float
            
            Compute()   -To calculate and return the total .Find discount as
                                   If qty >=50       discount=10%on total amount
                                     If qty<50          discount  =nil
        
           Public members :
                Getit()      -to enter the data members
               Showit()     -to show the data member
               A constructor function to initialize the data
Q.16   CONSIDER   a class Item  with the following specifications :
         Class Item
           {   Private :
                 int      Ino ;                                         
                char IName[25];                                  
                float  Price                                      
               Public:
                Item();   //f1
                Item (int n,char nm[25],float rate);  //f2
                Item(Item &obj);   //f3
          } 
a)      Write function definitions for all the member functions.
b)    Name the feature of OOP implemented in above class.
c)     Write the constructor invocation statement for the above functions.

     Q.17  CONSIDER   a class  emp  with the following specifications :
         Class emp
           {   Private :
                 int     eno ;                                         
                char  eName[25];                                  
                float  sal;                                     
               Public:
                emp();                                                //f1
                emp (int n,char nm[25],float sal);  //f2
                emp(emp  &E);                                 //f3
          } 
a)      What are member functions f1..f3 called in C++.
b)    Name the feature of OOP implemented in above class.
c)     When and how the  above  functions  are invoked .
d)     
   





 Q.18   CONSIDER   a class  Movie  with the following specifications :
         Class  
           {   Private :
                 int     Mno ;                                         
                char  Mname[25];                                  
                 int no_cdl;                                     
               Public:
                Movie();                                                //f1
                Movie (int n,char nm[25],float sal);  //f2
                Movie (Movie  &m);                                 //f3
          } 
a)      What are member functions f1..f3 called in C++.
b)    Name the feature of OOP implemented in above class.
c)     When and how the  above  functions  are invoked .
Q.19   CONSIDER   a class  Result  with the following specifications :
         Class Result
           {   Private :
                 int     Rno ;                                         
                
                 int  mks;                                      
               Public:
                Result();                                                //f1
                Result (int rn,int marks);                 //f2
               ~ Result( );                                 //f3
          } 
a)      What are member functions f1..f3 called in C++.
b)    Name the feature of OOP implemented in above class.
c)     When and how the  above  functions  are invoked .
Q.20   CONSIDER   a class  Candidate  with the following specifications :
         Class Result
           {   Private :
                 int     Cno ;                                         
                char Name[20];
                 int  mks;                                     
               Public:
                Candidate();                                                                     //f1
                 Candidate(int Cn,char nm[20],int marks);                 //f2
               ~ Candidate( );                                                                     //f3
          } 
a)      What are member functions f1..f3 called in C++.
b)    Write definitions for all functions.
c)     Create an object for f1 and f2 to invoke them.


Project Work
      System –Student information system, banking, payroll system
                     ATM ,Shopping Mall ,NDPL billing ,Hotel Reservation,

         Data collection and analysis :
      Choose any system as your project for XII (a batch of three maximum)
·        Collect data about the system (bills,reports,register)
·        Analyse the inputs and outputs

   System development (coding):

·        Define the classes  with appropriate data members (Minimum two  classes).
·        Write main program for function calling.

    Note :  Project is to be mailed to  the e-mail id   davcpnrl_40@hotmail.com                latest by 20th June2012.

Your Project should cover the following specifications :
         
·         Project Title(name of project,rollno, class)
·        Acknowledgement
·        Certificate
·        Introduction  to project
·        Software and hardware required(Operating system also)
·        Project coding
·        Project screens(output)
·        Bibliography










No comments:

Post a Comment