Friday, May 11, 2018

100 MCQ Computer Networking and Telecommunication [SEE 2075]


1.      Data communication means:
i) We can easily send and receive the message                 ii) Data computing system is fastest in network
iii) The process of transferring data and information               iv) None of above
2.      The term network basically refers to:
i) Communication                      ii) Interconnection                     iii) Sharing                    iv) All of them
3.      Which of the following are is not a goal of computer networks?
i) Resource sharing        ii) High reliability                      iii) Scalability               iv) None of the above
4.      Which of the following is required to communicate between two computers?
i) communications software        ii) protocol                    iii) communication hardware
iv) all of above including access to transmission medium
5.      Computer Network is
i) Collection of hardware components and computers       ii) Interconnected by communication channels
iii) Sharing of resources and information                         iv) All of the Above
6.      What is the benefit of the Networking?
i) File Sharing               ii) Easier access to Resources     iii) Easier Backups                    iv) All of the Above
7.      Two devices are in network if
i) a process in one device is able to exchange information with a process in another device
ii) a process is running on both devices
iii) PIDs of the processes running of different devices are same
iv) none of the mentioned
8.      What do you mean by broadcasting in Networking?
i) It means addressing a packet to all machine
ii) It means addressing a packet to some machine
iii) It means addressing a packet to a particular machine
iv) It means addressing a packet to except a particular machine
9.      The maximum speed at which data can be transmitted between two nodes on a network.
i) Bit rate                                  ii) Bandwidth                           iii) Band length             iv) None of them
10.   What is the meaning of Bandwidth in Network?
i) Transmission capacity of a communication channels            ii) Connected Computers in the Network
iii) Class of IP used in Network                                                  iv) None of Above
11.   The bandwidth of digital signal is measured in­_
i) Hertz                         ii) Cycle per second                   iii) Bits per second       iv) None of the above
12.   Each computer on the Internet has a unique numeric address called a/an ….
i) Web address              ii) Domain address                    iii) Network binding      iv) IP address
13.   Which one of the device is simplex?
i) Television                 ii) Telephone                             iii) Computer                iv) Walkie-Talkie
14.   TV broadcasting is an example for data transmitting
i) Half-duplex Mode      ii) Simplex Mode                       iii) Full duplex mode   iv) None of them
15.   Which of the following communication modes support two-way traffic but in only one direction at a time?
i) simplex                     ii) half duplex                          iii) three-quarters duplex            iv) all of the above
16.   Which of the following is not the possible ways of data exchange?
i) Simplex                     ii) Multiplex                             iii) Half-duplex                         iv) Full-duplex
17.   Which data communication method is used to transmit the data over a serial communication link?
i)  Simplex                    ii) Half-duplex                          iii) Full duplex                         iv) All of above
18.   Which of the following is not a transmission medium?
i) telephone lines           ii) coaxial cables                       iii) modem                   iv) microwave systems
19.   Which refers to the communication media? [SLC 2064, SLC 2065]
i) UTP cable                 ii) Fiber optic cable                   iii) Radio wave              iv. All
20.   Which is not a communication media? [SLC 2067]
i) Wire                          ii) Microwave                           iii) Satellite                   iv) NIC
21.   Which is not unguided media? [SLC 2069]
i) Fiber optics              ii) Microwave                           iii) Infrared                   iv) Radio wave
22.   Which is NOT a guided media? [SEE 2066 S] [SLC 2068 S]
i) UTP Cable                 ii) STP Cable                            iii) Satellite                  iv) Fiber Optics
23.   Microwave and Infrared technology are related with:
i) Unbounded media    ii) Bounded Media                     iii) Confounded             iv) Hot Bounded
24.   A form of wireless transmission in which signals are sent via pulses of infrared light.
i) Radio networking       ii) Infrared transmission          iii) Microwave transmission       iv) None 
25.    Which of these Electro-Magnetic waves is used for short range and line of propagation communications
i) Radio waves              ii) Microwaves                          iii) Infrared signals      iv) None of the above
26.   Which one is bounded media? [SLC 2067 S] [SLC 2070]
i) Fibre optics              ii) Microwave                           iii) Infrared                   iv)Laser
27.   An example of guided media_______
i) Radio wave                ii) Infrared                                iii) Fiber Optics           iv) Micro wave
28.   Which transmission media is not used for guided transmission media?
i) Fiber Optic                ii) Coaxial Cable                       iii) RJ45                       iv) Satellite
29.   Loss in signal power as light travels down the fibre is called?
i)  Attenuation             ii) Propagation                          iii) Scattering                iv) Interruption
30.   Which of the following is an advantage to using fiber optics data transmission?
i) resistance to data theft            ii) fast data transmission rate      iii) low noise level         iv) all of above
31.   In which communication media data transfer high? [SLC 2068]
i) Twisted pair               ii) Co-axial cable                       iii) Fiber optics            iv) Microwave
32.   Fastest and high bandwidth data communication medium is:
i) Optical fiber             ii) Twisted Pair                         iii) Coaxial Cable          iv) Telephone Line
33.   Media used to transfer data in forms of light? [SLC 2070 S]
i) Microwave               ii) Fiber optical                        iii) Radio wave              iv) Satellite
34.   Which is the connector of coaxial cable.
i) RJ 45                        ii) BNC                                    iii) ST                           iv) None of them
35.   Which of the following is not Media connector?
i) BNC                         ii) terminator                             iii) RJ-45                      iv) NIC
36.    Which is the connector of UTP cable?
i) BNC                         ii) T-Connector                         iii)  ST connector          iv) RJ-45 connector
37.   ………………. that physically makes the connection between the computer and the network cable.
i) Network cables                      ii) Network connector    iii) NIC
38.   Which device is used to connect multiple networks that use the same protocol [SEE 2074]
         i) Bridge                         ii) NIC                          iii) Switch                     iv) Gateway
39.   Which of the following device is multi ports repeater?
i) Hub                                      ii) router                                   iii) bridge                                  iv) gateway
40.   A device that lets you link two networks together.
i) Switch                       ii) Hub                                      iii) Router                    iv) None of above
41.   A networking device that joins multiple networks having different protocols is_
i) Switch                       ii) Router                                  iii) Gateway                 iv) Bridge
42.   Devices installed on long cable runs to amplify the signal are called:
i) Repeaters                 ii) Adapters                               iii) Switches                  iv) Routers
43.   A network navigation device that merely retransmits a signal to all other nodes attached to it:
i) Router                       ii) NIC                                      iii) Hub                                    iv) Adapter
44.   Which of the following is used to connect  totally dissimilar networks?
i) Router                       ii) Bridge                                  iii) Gateway                 iv) None
45.   Basically router is used for……
i) LAN                         ii) WAN                                   iii) Both i) and ii)          iv) None of above
46.   What does Router do in a network?
i) Forwards a packet to all outgoing links                       
ii) Forwards a packet to the next free outgoing link
iii) Determines on which outing link a packet is to be forwarded
iv) Forwards a packet to all outgoing links except the originated link
47.   What is the use of Bridge in Network?
i) to connect LANs                   ii) to separate LANs      iii) to control Network Speed     iv) All of the above
48.   Which is not a network device?
i) Hub                           ii) Repeater                               iii) switch                     iv) TCP/IP
49.   Which of the following is not the Networking Devices?
i) Gateways                   ii) Linux                                   iii) Routers                    iv) Firewalls
50.   Which is not network hardware component?
i) HUB                         ii) Repeater                               iii) Router                     iv) Windows NT
51.   Which is the component of a network?
i) MSDOS                    ii) Hub                                     iii) Volt guard               iv) None of them
52.   Which is not a physical component of computer network ?
i) Cable                        ii) NIC                                      iii) Network OS            iv) Hub
53.   What is modem?
i) An error message       ii) A network tool          iii) A personal computer     iv) A communication device
54.   The speed of Modems is measured in terms of
i) mbps                                     ii) bps                                      iii) kbps                         iv) bits
55.   Which device is necessary to operate internet? [SEE 2066 S]
i) CD-ROM                  ii) ISP                                       iii) MODEM                iv) All of the above
56.   Modem converts [SEE 2066 S]
i) Sound into digital       ii) Digital into sound                  iii) Both i) and ii)         iv) None
57.   Which of the following network connects computer to the Internet? [SLC 2069 S]
i) Intranet                                  ii) LAN                                    iii) WAN                      iv) MAN
58.   The device used for connecting PC to telephone line is
i) CD-ROM                  ii) MODEM                             iii) Printer                     iv) Port
59.   A device that converts the discrete stream of digital ON-OFF electric pulses used by computer into the continuously variable analog wave patterns used to transmit the human voice over many existing telephone lines.
i) Modem                     ii) Bridge                                  iii) Gateway
60.   Which of the following performs modulation and demodulation?
i) fiber optics                ii) satellite                                 iii) coaxial cable                        iv) modem
61.   A server in LAN is a
i) Device offering service to user                                              ii) NIC             
iii) Workstation with huge secondary storage                   iv) None of the above
62.   Which of the following networking solution is suitable for networking within a building?
i) WAN                        ii) LAN                                    iii) MAN                      iv) None of above
63.   Which of the following is not required in local area network LAN?
i)     RJ-45                    ii) PC                                       iii) HUB                       iv) Telephone
64.   Which type of network is used in the internet?
i) LAN                         ii) MAN                                   iii) GAN                       iv) WAN
65.   A telecommunication network, usually used for connecting computers, that spans a wide   geographical area.
i) LAN                         ii) MAN                                   iii) CAN                      iv) WAN
66.    A data communications system allowing a number of independent devices to communicate directly with each other, within a moderately sized geographic area.
i) LAN                         ii)WAN                                    iii) MAN                                    iv) CAN
67.   A network of computer spread over a city or town located in the same geographical area.
i) LAN                         ii) MAN                                               iii) WAN
68.   Physical layout of computer:
i) Network                    ii) Topology                             iii) LAN                       iv) MAN
69.   Which one is not a network topology? [SLC 2066]
i) Star                           ii) Ring                                     iii) Client Server          iv) Bus
70.   In which topology network devices are connected through hub? [SLC 2067]
i) Ring topology                        ii) Bus topology                        iii) Star topology         
71.   Which of the following topologies share a single channel on which all stations can receive and transmit the data?
i) LAN                                     ii) BUS                                     iii) TREE                      iv) None
72.   Which of the following topologies is least affected by addition/removal of a node?
i) Star                          ii) Ring                                     iii) Bus                         iv) None of the above
73.   Token passing system is used in _____ topology.
i) Star                           ii) Ring                                    iii) Bus                         iv) Mesh
74.   A topology with a single cable that connects all the workstations, servers, printers and other devices on the network.
i) Ring Topology           ii) Bus Topology                      iii) Star Topology          iv) Mesh Topology
75.   Protocols are?
i) Agreements on how communication components and DTE's are to communicate
ii) Logical communication channels for transferring data
iii) Physical communication channels sued for transferring data
iv) None of above
76.   Protocols in network means
i) Language for communication between computer         
ii) Rules for exchange of message between two or more hosts
iii) Both i) and ii)                                                         iv) None of the above
77.   A set of rules that govern all aspects of information communication is called
i) Server                       ii) Internet                                 iii) Protocol                  iv) OSI Model
78.   Which of the following is not a protocol? [SLC 2068] [SEE 2074]
i) POP                         ii) TCP/IP                                 iii) NOS                       iv) FTP
79.   Which of the following is not a protocol?
i) TCP/IP                      ii) IPX/SPX                              iii) NETBIOS/NETBUI             iv) Client
80.   Which is not a network protocol?
i) TCP/IP                      ii)  HTTP                                  iii) LAN                       iv) FTP
81.   Which of the following is protocol?
i) TCP/IP                                  ii) HTTP                                   iii) FTP                         iv) All of them
82.   _______ is the protocol used to send email:
i) HTTP                                    ii) SMTP                                  iii) POP                                    iv) FTP
83.   The communication protocol used to connect to web servers on the internet or on a local network (intranet).
i) TCP/IP                      ii) HTTP                                  iii) SMTP                        iv) POP
84.   Which is Network operating system(NOS)? [SLC 2064]
i) Linux                                    ii) Windows XP                        iii) MS-DOS                 iv) All
85.   Which is the network operating system?
i) MS-DOS                   ii) Windows 7                           iii) MS-UNIX               iv) Windows NT
86.   Which is not the network operating system:
i) Linux                                    ii) UNIX                                   iii) MS-DOS                 iv) Windows Server
87.   Which one is operating system software? [SLC 2070]
i) MS-Word                  ii) MS-Excel                             iii) Firefox                    iv) MS-DOS
88.   Which is the network operating system used in a server computer?
i) Windows XP             ii) Windows Vista                     iii) Windows NT server    iv) None of them
89.   A dedicated server that manages printers and printing jobs is_
i) Network Server                      ii) Printer Server                     iii) Modem Server         iv) File Server
90.   The network architecture used in most home networks is:
i) Client-server LAN      ii) Peer-to-peer LAN                iii) Client-server WAN  iv) Peer-to-peer WAN
91.   A group of computers that functions both as a client and as a server.
i) Centralized computing            ii) Client/server             iii) Peer-to-peer            iv)Local Area Network
92.   A specialized network device on a host-based network that transmits the data entered by the user to the host for processing and displays the results.
i. Client                        ii) Network Server                     iii) Terminal                iv) None of the above
93.   Any network device that can connect to the network and can generate ,process or transfer network data.
i) Node                                     ii) Client                                   iii) Peer
94.   A centralized computing network is a type of network where  all the users connect to a host computer that is the acting agent for all communication.
i) Peer-to peer               ii) Client/server                                      iii) None of the above
95.   Which of the following acts as the central authority in the network?
i) protocol                     ii) client                                    iii) server                     iv) none of the above
96.   In which of the following network model all the computers have equal access?
i) Peer-to-peer network                                                            ii) apple talk network
iii) Client/server network                                                           iv) None of the above
97.   A _______ is a self-sufficient computer that acts both as a server and a client to other similar computers on the network.
i) Node                         ii) Client                                   iii) Peer
98.   A network in which a central host computer performs data processing and storage on behalf of clients.
i) Centralized computing network                    ii)  Client/Server network           iii)  Peer-to-peer network
99.   What is a Firewall in Computer Network?
i) The physical boundary of Network
ii) An operating System of Computer Network
iii) A system designed to prevent unauthorized access
iv) A web browsing Software
100.                    __________ is the main line of defense between a local network or intranet and the Internet.
i) USB port                   ii) Encryption key                      iii) Firewall                  iv) Decryption key




***

Sunday, May 6, 2018

Qbasic Modular Programming Sequential Structure


SEQUENTIAL STRUCTURE
SET 1
1.      Write a program to calculate the volume of a cylinder using FUNCTION….END FUNCTION.[SEE MODEL 2065], [SLC 2071 S]
2.      Using FUNCTION….END FUNCTION, Write a program to calculate distance travelled by a body. (Hint: s=ut+ (1/2) at2) [SLC 2065R]
3.      Write a program using SUB…END SUB to get radius of circle and then print its area. [SLC 2065 S], [SLC 2071 R] [SEE 2074]
4.      Write a program using FUNCTION module to calculate and print the volume of a box. [SLC 2066 R]
5.      Write a program using FUNCTION…END FUNCTION to find the average of any two numbers given by the user. [SLC 2066 S]
6.      Using FUNCTION…END FUNCTION Write a program to calculate the average of three numbers. [SLC 2067 R], [SLC 2070 S]
7.      Write a program using SUB…END SUB to get radius of a circle and then print its circumference. [SLC 2067 S]
8.      Write a program to calculate the area of four walls using SUB…END SUB. [SLC 2068 R], [SEE 2073]
9.      Write a program in QBASIC to find the total surface area of a box using FUNCTION…END FUNCTION. [SLC 2068 S]
10.   Write a program to calculate and print the simple interest using FUNCTION…END FUNCTION. [SLC 2069 S]
11.   Write a program using FUNCTION…END FUNCTION to get temperature in celsius from the user and then print the temperature in fahrenheit.(hint: F=9C/5+32) [SLC 2070 R]
12.   Write a program using FUNCTION…END FUNCTION, to find the area of triangle. [SEE 2072]

SET 2
1.      Using FUNCTION…END FUNTION, write a program to calculate the sum and product of three numbers.
2.      Write a program in QBASIC to find square of a given number using FUNCTION…..END FUNCTION.
3.      Write a program in QBASIC to find cube root of a given number using FUNCTION…..END FUNCTION.
4.      Write a program using SUB……END SUB to find the area of rectangle. [A=L*B]
5.      Write a program using SUB……END SUB to find the perimeter of square. [P=4L]
6.      Write a program in QBASIC to find the area of four wall of a room using FUNCTION…..END FUNCTION.
7.      Write a program to convert USD(dollar) into NC (NEPALI currency) using DECLARE FUNCTION.
8.      Using Function…… End Function, write a program to calculate area and volume of hemisphere. [ volume = 2/3 Ï€R3] .[ A= 2 * 3.14 * R ^ 2
9.      Write a sub program cost(l,b,h,c) to find the cost of painting the four walls of a room.
10.   Write a program to input cost price and selling price and calculate profit percentage using sub procedure. [P= ((SP-CP)/CP*100)]

SET 3
1.      Write a program using SUB…..END SUB to find the sum, difference, product and average of any two numbers given by the user.
2.      Write a program in QBASIC to find cube of a given number using SUB…..END SUB.
3.      Write a program in QBASIC to find square root of a given number using SUB…..END SUB.
4.      Write a program using FUNCTION……END FUNCTION to find the perimeter of rectangle. [P=2(L+B)]
5.      Write a program using FUNCTION……END FUNCTION to find the area of square. [A=L2]
6.      Write a function procedure to read the side of a cube. Calculate its volume and surface area. (Hint: vol=side3 and sa=6 side2]
7.      Write a program to input Fahrenheit and convert it into Celsius using SUB - END SUB.  Hint: C = (5/9)×(F-32)
8.      Write a program to convert NC (NEPALI currency) into IC (Indian Currency) using DECLARE SUB.
9.      Write a program to calculate the area of triangle by using SUB…..END SUB. [Hints: Area=]
10.   Write a function procedure to calculate volume and area of sphere.[ A= 4 * 3.14 * R ^ 2 ,
V = (4 / 3) * 3.14 * R ^ 3]


***

Saturday, April 7, 2018

Solved SEE 2074 [Computer Science]

Solved SEE 2074 [Computer Science]
Group A
Computer Fundamentals (22 Marks)
1. Answer the following questions: [5×2=10]
    a.  Define computer network.
        Ans: Computer network can be defined as a connection between computers and other
                 electronic devices to share the resources and information.
    b. Define Internet.
      Ans: A global computer network providing a variety of information and communication
               facilities is called internet.
    c. Write the importance of power protection device to protect computer system.
      Ans: The importance of power protection device to protect computer system are:
                i) To protect the hardware against damage from unexpected power failures.
                ii) To protect files and programs being corrupted due to sudden power failure.
    d. What is computer virus? Mention any two symptoms that can be seen when a computer is                     infected by computer virus.
          Ans: A computer program which is capable of copying itself and typically has a detrimental
                   effect, such as corrupting the system or destroying data. Or any other suitable answer.
                   Two symptoms of computer virus in a computer are:
                    i) Unexpected computer behavior
                    ii) Computer becomes slower
   e. What is cyber crime? Give any two examples.
        Ans: The criminal activities involving the information technology with the help of computer is
                 known as cyber crime.
                 Any two examples of cyber crimes are: software piracy and hacking

2.a) Perform the conversion as per the direction: [2×1=2]


  b) Perform the binary calculations: [2×1=2]


3. Match the following: [4×0.5=2]
     Group 'A'                       Group 'B'
   a) RJ 45 connector          i) Duplicate copy
   b) Backup                        ii) Multimedia
   c) Microphone                 iii) Twisted pair  cable
   d) Hub / switch                iv) Ring Topology
                                            v) Star Topology
Answers:

  Group 'A'                       Group 'B'
   a) RJ 45 connector          i) Twisted pair  cable
   b) Backup                        ii) Duplicate copy
   c) Microphone                 iii) Multimedia
   d) Hub / switch                iv) Star Topology
                                         
4. Select the best answer of the following: [4×0.5=2]
    a) Which of the following is not a network protocol?
         i) POP          ii) FTP         iii) TCP/IP        iv) NOS
         Ans: NOS
    b) Which of these software is used for photo editing?
         i) Ms-Excel          ii) Photoshop         iii) Power-Point       iv) MS-Word
         Ans: Photoshop
    c) Which device is used to connect multiple networks that use the same protocol
         i) Bridge          ii) NIC        iii) Switch       iv) Gateway
         Ans: Bridge
    d) Process of arranging the scattered files into a contiguous manner.
         i) Scandisk          ii) Backup         iii) Defragmentation        iv) Debugging
         Ans: Defragmentation

5. Write the appropriate technical terms of the following: [4×0.5=2]
   a) The physical layout of local area network.
       Ans: Topology
   b) The business conducted through internet.
       Ans: E-commerce
   c) The law which controls the crime which is done with the help of computer and Internet.
       Ans: Cyber law
   d) A computer or device which provides different services to other computers connected to the     
         network.
       Ans: Server

6. Write the full form: [4×0.5=2]
    a) SMTP: Simple Mail Transfer Protocol
    b) WAN : Wide Area Network
    c) URL : Uniform Resource Locator
    d) VOIP : Voice Over Internet Protocol

Group B
Database (10 Marks)

7. Answer the following questions: [3×2=6]
   a) Define database.
      Ans: Database can be defined as an organized collection of data which can be easily accessed,                     managed and updated.
   b) What is data redundancy? How can it be reduced in database?
       Ans: The repetition of same piece of data in a database in more than one location is called data                    redundancy. Data redundancy can be minimized by normalization of database.
   c) Mention any four data types that can be used in Ms-Access.
      Ans: Any four data types that can be used in Ms-Access are
               i) Text
               ii) Memo
               iii) Currency
               iv) Number

8. Select the correct answer: [4×0.5=2]
    a) Which if the following is not accepted by primary key?
         i) Number         ii) Text         iii) Null value        iv) None
         Ans: Null value
    b) Which is called rows in database table?
         i) Field          ii) Record         iii) Form       iv) None
         Ans: Record
    c) Which data type consumes the least storage space?
         i) Text          ii) Yes/No          iii) OLE object       iv) Memo
         Ans: Yes/No
    d) Which is the default data type of Ms-Access?
         i) Memo         ii) Number       iii) Text          iv) Auto number
         Ans: Text

9. Match the following: [4×0.5=2]
     Group 'A'                       Group 'B'
   a) Data                            i) Input, view, edit data
   b) Form                           ii) Formatted output
   c) Report                         iii) Collection of raw facts
   d) Table                          iv) Questions to the database
                                            v) Stores data in database

Answers:

Group 'A'                       Group 'B'
   a) Data                            i) Collection of raw facts
   b) Form                           ii) Input, view, edit data
   c) Report                         iii) Formatted output
   d) Table                          iv) Stores data in database

Group C
Programming (18 Marks)
                                       
10. a) What is formal parameter? [1]
      Ans: The variable which is used in the function definition is called formal parameter.
      b) List any two data types used in C programming language. [1]
      Ans: Any two data types used in C programming language are
               i) char
               ii) int
      c) Write the function of KILL and CLOSE statements. [1]
        Ans:   The function of KILL is to delete the file
                   The function  of CLOSE is to close any opened file

11. Re-write the given program after correcting the bugs: [4×0.5=2]

   REM TO find the factorial of a given number.
   DECLARE FUNCTION FACTO (N$)
   CLS
   INPUT "Enter a number"; X
   PRINT "The Factorial is: ", FACTO (N)
   END

   FUNCTION FACTO (N)
   F = 1
        WHILE N = 0
              F = F * N
              N = N - 1
        WEND
   F = FACTO
   END FUNCTION

Debugged Program:

REM To find the factorial of a given number
DECLARE FUNCTION FACTO (N)
CLS
INPUT "Enter a number", X
PRINT "The Factorial is :", FACTO (X)
END
FUNCTION FACTO (N)
F = 1
WHILE N > 0
F = F * N
N = N – 1
WEND
FACTO = F
END FUNCTION

12. Write the output of the following program: [2]

DECLARE SUB Display (T$)
CLS
T$ = "COMPUTER"
CALL Display (T$)
END

SUB Display (T$)
FOR C = 1 to LEN (T$) STEP 2
    D$ = MID$(T$, C, 1)
    PRINT D$;
NEXT C
END SUB

Output:
CMUE

13. Study the following program and answer the given questions: [2×1=2]

DECLARE FUNCTION SUM (N)
CLS
INPUT "Enter any number"; N
S = SUM (N)
PRINT "The Sum of individual digit is"; S
END

FUNCTION SUM (N)
   WHILE N > 0
       R = N MOD 10
       T = T + R
       N = N \ 10
   WEND
 SUM = T
END FUNCTION

a) State the purpose of suing variable S in line 4 in above program.
   Ans: Variable S is used to store the value returned by the function Sum.
b) Write the use of MOD in the above program.
    Ans: MOD is used to get the remainder of the division.

14. a) Write a program to calculate area of a circle using Sub......End Sub. [3]

            DECLARE SUB Area (r)
            CLS
            INPUT "Enter radius of circle", r
            CALL Area (r)
            END
         
           SUB Area (r)
             A = 3.14*r*r
             PRINT "Area of circle :" ; A
              END SUB

      b) Write a program using FUNCTION.....END FUNCTION to count the number of words in a                 sentence. [3]
       
           DECLARE FUNCTION WCount (S$)
           CLS
           INPUT "Enter a sentence", S$
           C = WCount (S$)
           PRINT "The number of words is :" ; C
           END

          FUNCTION WCount (S$)
          W = 1
          FOR I = 1 To LEN (S$)
          C$ = MID $ (S$, I,1)
           IF C$ = " " THEN W = W + 1
           NEXT I
          WCount = W
          END FUNCTION

      c) Write a program to store Roll no., Name, Class and Address of any five students. [3]

            OPEN "Student.dat" FOR OUTPUT AS #1
            FOR I = 1 TO 5
            INPUT "Enter Roll No.", r
            INPUT "Enter Name", n$
            INPUT "Enter Class", c
            INPUT "Enter Address", a$
            WRITE #1, r, n$, c, a$
             NEXT I
             CLOSE #1
             END
***

Answer Source of all SEE Questions 2074 : Click here
You can also download the SEE Questions 2074 by Clicking here