Friday 13 March 2020

Solution of Computer Class Nine [SOS (Bhaktapur) 2074]


SOS (Bhaktapur) 2074
Group “A”
[Fundamentals – 20 Marks]
1.       Answer the following questions:
a)       Write a neat block diagram of computer system.
b)      Differentiate between third and fifth generation of computer.
Ans: The difference between third and fifth generation are as follows
1.Third generation computer's main component was integrated circuit and fifth generation's main component is biochip.
2. The fifth generation computer's are more advanced than the third generation regarding technology.
3. The main feature of the fifth generation is Artificial Intelligence but the main feature of thrd generation is about high level language programming languages.
4. The fifth generation hav parallel processing mechanism which is not available in third generation.
c)       What type of computer is called analog computer? Write any four applications of hybrid computer.
Ans: The analog computer uses continuous changing data such as temperature, pressure, voltage for measuring the values. They work on continuous data. They are the special device and perform a single specific task only. Hybrid computers are used in Hospitals, Jet planes, large industries and scientific research sectors.
d)      What is e-government? Mention the different delivery models of e-government.
Ans: e-government or electronic government is the governement that uses information and communication technology (ICT) to provide and improve government services to the citizens, businessmen and the government offices. The different delivery models of e-government are as follows
1. G2C (Government to Citizen)
2. G2B (Government to Bussiness)
3. G2E (Government to Employee)
4. G2G (Government to Government)
2.       C
a)       Convert as indicated:
i) (177)10 into Hexadecimal             ii) (106)8 into Binary
b)      Perform binary calculation:
i) 101101001+10101110                 ii) 1101
3.        
a)       What is booting? Write down its types.
Ans: The booting is the process to load the system files into the memory of the computer or to start the computer. Booting are of two types 1. Cold booting  2. Warm booting
b)      Write down the function of following DOS commands:
i)                    C:\> copy con d:\ class9.txt
Create a file as class9.txt inside d drive staying at c drive.
ii)                  C:\type class9.txt
Display the message of class9.txt from c drive.
c)       Write down the DOS commands to perform the following task:
i)                    To make a new subdirectory named “SOS” on D:drive.
C:\>md D:\sos
ii)                  To change the system date to 20th March,2018.
C:\>date 03/20/2018
4.       Write down the HTML tags to create a simple web page on the topics “Historical Places of Nepal” and write down its output also.
 Ans: <html>
            <head> <title> Historical places of Nepal</title></head>
            <body>
            <p>Historical places of Nepal</p>
            <p> There are many places to visit in Nepal. They are naturally beautiful and full with the culture and heritage. These places are located in the all parts of the country. </p> <p> They are as follows</p>
<ul> The Bidhyabasini Temple of Pokhara </ul>
<ul> Bhaktapur Darbar Square in Bhaktapur </ul>
<ul> The MuktinathTemple of Mustang </ul>
<ul> Swargdwari Temple in Pyuthan </ul>
<ul> Gorkha Darbar of Gorkha </ul>
<ul> Patan Darbar  in Kathmandu </ul>
<ul> The Mankamana Temple of Gorkha </ul>
<ul> Janakpur Dham in Janakpur </ul>
</body>
</html>
a)       WAP that ask any multi digit number and check whether it is Armstrong or not.
      CLS
INPUT "ENTER A NUMBER";A
X=A
WHILE A<>0
R=A MOD 10
S=S+R^3
A=A\10
WEND
IF S=X THEN PRINT "ARMSTRONG" ELSE PRINT "NOT ARM"
END
b)      WAP that create “STD.TXT” that store students name, address, class, roll number, section, gender and marks in 3 subjects into that file and
the program terminates according to the user’s wish.
OPEN "STD.TXT" FOR OUTPUT AS #1
TOP:
INPUT "NAME";N$
INPUT "ADDRESS";A$
INPUT "CLASS";C
INPUT "ROLL NO";R
INPUT "SECTION";S$
INPUT "GENDER";G$
INPUT "THREE SUBJECT MARKS";X,Y,Z
WRITE #1, N$,A$,C,R,S$,G$,X,Y,Z
INPUT "DO YOU WANT TO CONTINUE(Y/N)";CH$
IF UCASE$(CH$)="Y" THEN GOTO TOP
CLOSE#1
END
c)       WAP that read “TEACHER.TXT” that read name, address, salary and post of 100 teachers. The program displays those records of teachers whose salary is greater than 30, 000 having address “Kathmandu”.
OPEN "TEACHER.TXT" FOR INPUT AS #1
WHILE NOT EOF(1)
INPUT #1, N$,A$,S,P$
IF S>300000 AND A$=UCASE$("kathmandu") then
PRINT N$,A$,S,P$
ENDIF
WEND
CLOSE #1
END

No comments:

Post a Comment

MCQ Question Bank Microsoft PowerPoint