Class 10 Comp
Class 10 Comp
A a. Background-color
A b. Font-size
6. Which one of these names and value declaration would not work?
A b. Margin;20px 30%
7. Which of the following CSS types is defined in the header of a web page and applies to
the entire Web page document?
A Internal
8. Which of the following type of CSS is coded in the body of the web page as an attribute
of HTML tag and applies ONLY to the specific element that contains it as an attribute?
A a. Inline
9. Where in an HTML document is the correct place to refer to an external style sheet?
A b. In Head section
1|Page
10. Use the CSS padding property to configure the cellpadding of a table.
A A dynamic website contains information that changes, depending on the viewer of the site,
the time of the day, the time zone, the native language of the country the viewer is in or many
other factors.
For example, a channel or newspaper website is a dynamic website as they keep updating
the stories, current time information, trends etc.
A A Style sheet is a file containing formatting guideline that define overall look of a document.
Benefits of Stylesheet:
• Pages download faster.
• Developers have to type less code, and the web pages are shorter and neater.
• The look of the site is kept consistent throughout all the pages.
• Updating the design and general site maintenance are made much easier.
2|Page
14. What is CSS style rule? How do you define it?
A A CSS rule is a grouping of one or more CSS properties which are to be applied to one or
more target HTML elements.
A CSS rule consist of a CSS selector and a set of CSS properties. The CSS property specify
what style to be applied to the HTML elements.
Following is the CSS rule example:
Div {property: property value}
Ex: P {border: 1px solid black; font-size:18px;}
15. What are three ways of creating style rules? Give examples of each?
A H1{BACKGROUND-COLOR: #FC9804;}
3. How do you make each word in a text start with a capital letter?
A H1{TEXT-TRANSFORM: CAPITALIZE;}
3|Page
Chapter-2 Internet Services and Mobile Technologies
2. What are the two parts of an e-mail address? Which character is used to separate
these two parts?
1. Username – On the left side of @ separator is the user name. A user name cannot
have blanks.
2. Domain name for the host server – The portion to the right of @ identifies the
server or host or network that services your e-mail. It is sometimes also called
the e-mail server.
Ex. [email protected] – pacasa is the username and hotmail.com is the domain name.
7. Write the structure of an e-mail message. Also differentiate between Cc: and Bcc:
fields.
A An e-mail message can contain some or all the following components (Structure):
BCC BCC stands for Blind Carbon Copy. This people will also receive a copy of
the message. But a BCC recipient’s name is not visible to all recipients.
8. To find out about e-mail address of one of your friends, which utility will you use
and how?
12. What are the uses and misuses of social networking sites?
e-Learning enhances the learning experience and can be done anywhere and anytime.
17. What is E-Reservation?
A Making reservation of tickets or hotel rooms or tourist package etc., through internet is
known as E-Reservation.
18. Name some protocols that are used for remote logging on a server.
4. b. Juhi is researching Indian Freedom struggle history on the Internet. She uses a
search engine to help her.
i. The computer sometimes takes a long time to respond when Juhi enters a question
into the search engine. Give two reasons why this might happen.
A Two reasons why the computer takes more time to respond to the search query could be:
1. What character is displayed on the password forms when the user inputs characters?
d. A dot
2. What attribute is used for radio buttons?
c. Radio
3. What attributes are valid for textarea input?
b. Name, cols and rows
4. What attributes can be used with the select form?
c. Name, multiple and size
5. Is the size attribute valid for the submit button?
b. No
6. The two most important attributes of a form are:
c. Action and method
7. A label’s for attribute should match the input’s _____
b. Id
8. Creates blank text field, but shows the text as asterisks
c. Type=”password”
9. Method attribute will always post data into the browser.
a. True
10. Checkbox buttons let users select on or more of a particular set of choices.
a. True
11. <input type=”submit” name=”submit” id=”submit” /> creates a reset button.
d. False
12. What are forms?
A. Forms means by which one can prompt the user for information.
13. What do you understand by controls in the form?
A. Users interact with the forms through the named objects called controls.
A control’s control name is given by its name attribute.
14. Name different control types supported by html form.
A. HTML defines the following control types:
i. Submit button
ii. Reset button
iii. Push button
iv. Checkboxes
v. Radio button
vi. Menus
vii. Password
viii. Text input
ix. Hidden controls
15. Write the tags to define the following
i. A textbox
ii. A text area
iii. A radio buttons
iv. A check box
v. A password box
vi. A pop-up box
vii. Submit button
viii. A label
A.
i. <INPUT TYPE=text NAME=name>
ii. <TEXTAREA ROWS=”5” COLS=”50”>
iii. <INPUT TYPE=radio NAME=name >
iv. <INPUT TYPE=checkbox NAME=name >
v. <INPUT TYPE=password NAME=name >
vi. <SELECT NAME=name> <OPTION VALUE=value>….</OPTION></SELECT>
vii. <INPUT TYPE=submit>
viii. <LABEL FOR=label>
<HTML>
<HEAD>
<TITLE>FORM CONTROLS</TITLE>
</HEAD>
<BODY>
Grade :
<INPUT type="radio" name="Grade" value="A">A
<INPUT type="radio" name="Grade " value="B">B
<INPUT type="radio" name="Grade " value="C">C
<BR>
<table>
<tr>
<td>Subjects: </td>
<td><INPUT type="checkbox" name="sub" value="eng">English </td>
<td><INPUT type="checkbox" name="sub" value="mat">Maths </td>
</tr>
<tr>
<td></td>
<td><INPUT type="checkbox" name="sub" value="com">Computer</td>
<td><INPUT type="checkbox" name="sub"
value="acc">Accounts<BR></td>
</tr>
<tr>
<td></td> <td><INPUT type="checkbox" name="sub "
value="eco">Economics<BR></td>
</tr>
<tr>
<td></td>
<td><INPUT type="checkbox" name="sub " value="bst">Business
Studies</td>
</tr>
</table>
</BODY>
17. Write HTML code to produce these controls
i. A text box
ii. A text area with 10 rows and 30 columns
iii. A password textbox
iv. A pop up box to choose class from it.
A.
i. <INPUT TYPE=text NAME=name>
ii. <TEXTAREA ROWS=”10” COLS=”30”>
iii. <INPUT TYPE=password NAME=”pwd”>
iv. <SELECT>
<OPTION>Class 1</OPTION>
<OPTION>Class 2</OPTION>
<OPTION>Class 3</OPTION>
<OPTION>Class 4</OPTION>
</SELECT>
Chapter-6 Cyber Ethics
A Fraud committed using the internet is called online fraud. It may occur in many forms
such as:
1. Non-existing companies
2. Stealing information
3. Fraudulent payments
A In credit card frauds, the credit card details of the users are stolen from his/ her online
activities and then some payment frauds are carried out with this stolen information.
A Identity theft is stealing someone else’s online identity, fraudulent posts and are
posted or some other malicious activity is carried out.
A Intellectual Property is the intangible property of the person that is the result of
creativity, such as patents, copyrights, etc.
Intellectual property rights are the rights of the owner of the information to decide
how much information is to be exchanged, shared, or distributed.
Also, it gives the owner a right to decide the price for doing so.
10. What is plagiarism? How can you avoid plagiarism while referring to someone
else’s creation?
11. What is digital property? What are the threats to digital properties?
A Digital property refers to any information about you or created by you that exist in
digital form either online or on electronic storage device.
Threats to Digital Properties:
● Digital software penetration tools
● Stealing or plagiarizing codes of your digital properties
13. Expand the terms: OSI, FLOSS, FSF, GNU, GPL, W3C, OSS
A Public Domain Software is free and can be used without restrictions. The term
Public Domain Software is often used incorrectly to include freeware, free software
that is nevertheless copyrighted.
18. What is GPL software license? How is it different from LGPL software license?
A The GPL grants and guarantees a wide range of rights to developer who work on open
source projects. Basically, it allows user to legally copy, distribute and modify the
software.
LGPL it offers lesser rights to work than a standard GPL License. The LGPL is used
to license free software; so that it can be incorporated into both free software and
proprietary software.
A A digital divide is an economic and social equality with regard to access to use of, or
impact of information and communication technologies.
Two major reasons behind digital divide in India are
i. Technological reach is not the same all across India, especially in rural and
remote areas.
ii. Due to digital illiteracy, people are not able to take benefit of technology.
Type B: Application Oriented Questions
A Inline image means image display in line with the text i.e. the specified image is loaded
separately and placed into the text flow as if the image were some special character.
A The HTML standard specifies five image alignment attribute values. Left, right, top, middle
and bottom.
A Mailto function is used to open a separate email form that the user may fill out. The E-mail
is then sent automatically, to the email address specified in the link.
A <HTML>
<BODY>
<OL TYPE = ‘A’ start = 24>
<LI> Xylophone
<LI> Yak
<LI> Zebra
</OL>
</BODY>
</HTML>
20. How is spacing in cells of table controlled?
A To control the spacing in cells, the CELLSPACING and CELLPADDING attributes can be
used.
CELLSPACING – gives the amount of space between cells.
CELLPADDING – gives the amount of space between the cell border and the cell contents.
A SUMMARY attribute of <TABLE> tag lets you denote summary of table’s data.
A <TH> tag – It stands for table header. The contents declared as header are displayed in a
distinctive style e.g. boldfaced.
<TR> tag – It stands for table row. <TR> marks the beginning of the table row and </TR>
makes the end of the table row.
<TR> and <TH> uses similar attributes as that of TD except for ROWSPAN and COLSPAN.
Type B: Application Oriented Questions
A Solution:(a)
<HTML>
<BODY>
<TABLE BORDER = 1>
<TR>
<TD> 1 </TD>
<TD ROWSPAN =2> 2 </TD>
<TD> 3 </TD>
</TR>
<TR>
<TD> 4 </TD>
<TD> 6 </TD>
</TR>
<TR>
<TD> 7 </TD>
<TD> 8 </TD>
<TD> 9 </TD>
</TR>
</TABLE>
</BODY>
</HTML>
Solution:(c)
<HTML>
<BODY>
<TABLE BORDER = 1>
<TR>
<TD ROWSPAN = 3 align=center valign=middle>Column 1 </TD>
<TD align=center valign=middle > ROW 1 </TD>
</TR>
<TR>
<TD align=center valign=middle > ROW 2 </TD>
</TR>
<TR>
<TD align=center valign=middle > ROW 3 </TD>
</TR>
</TABLE>
</BODY>
</HTML>
A (i) # sign is used to mark the section of the webpage for internal hyperlink.
(ii) When the user clicks on “Introduction” link, it displays the section of the page
where the HTML section is named as “intro”.
Chapter-1 Internet Basics
1. What is WWW?
A The World Wide Web is a set of programs, standards, and protocols that allow the
multimedia and hypertext files to be created, displayed and linked on the Internet.
A document that uses HTTP. Top-level web page on website that gets
displayed upon opening a web-site.
It is normally an entry point or gateway for It is often the final destination to access
using the offered web-services. and use the provided specific information.
Generally linked to many other websites that A website is generally linked to its own
provide these web-services. webpages.
A complete environment for managing and Caters to or delivers one specific type of
integrating a large no of diverse applications. application or content as per the goal of
the website.
10. The first page on a website that allows you to navigate to other page via menu system
or links, is known as
1. Front page
2. Home page
3. Main page
4. Primary page
5. First page
A Home page
11 What is blogging? What are its advantages and disadvantages?
A Blog is a kind of website where on-line journal entries are posted. A person who writes
and maintains a blog is called blogger and art of writing a blog is called blogging.
Advantages Disadvantages
Enables you to write down your thoughts on Whatever you publish is available for
anything that interests you. everyone to see.
Easy to set up; don’t need much technical Personal blogs may be biased or contain
knowledge. inaccurate information.
Easy and quick to update or add new posts. Blogs can be time-consuming. Finding time
to write regular updates can become a
chore.
People can leave comments on your blog. People may leave rude or inappropriate
comments.
If you want to read other people’s blogs There are many very dull blogs around. You
there are literally millions to choose from. may have to look at many before you find
some worth reading.
1. PJM Bank has a Head Office based in Bangalore and a large number of branches
nationwide. The Head Office and branches communicate using Internet.
3. Simon has a villa, which he rents to holiday makers. He creates a website to advertise
the villa. Simon chose an ISP to host his website.
The structure of his website is shown below
a. State what Simon should have on his home page to help users navigate his website.
A Simon should have hyperlink for photos, Price and Map on his home page to help users
navigate his website.
A An Internet Service Provider (ISP) is a company that provides Internet access to users.
ii. Name the Internet service that Simon uses to upload his website files.
iii. Name the type of data transmission that takes place when his files are transferred to
the host computer from Simon’s computer.
c. The URL for the web page which has a map is:
http://www. Indiaisp.co.in/simonsvilla/map.html
A Registering the website with a search engine company helps to list the website when user
enters keyword related to the website.
Chapter - 3 HTML-I Basic HTML Elements
16. The default alignment of text is________default text color is ______and the default
background color is______
A The default alignment of text is left, default text color is black and the default background
color is white.
A Correction:
(i) <FONT FACE = “Arial” size = 3>
<B>…….</B>
</FONT>
(ii) <Body TOPMARGIN= 60 LEFTMARGIN = 75>
Text with changed margin
</Body>
(iii) <HTML>
<HEAD>
<TITLE> New Page </TITLE>
</HEAD>
</HTML>
A <BR> <P>
1 <BR> tag is used to simply end one line <P> tag is used to end a line and show
and jump to the next line. blank line before beginning anything else.
2 It is an empty element. It is a container element.
A HTML has six levels of headings numbered 1 through 6, with 1 being the largest and 6
smallest.
i.e <Hn> .. </Hn> where n can take value from 1 to 6.
A The <BASEFONT> tag is used to define basic font size for the HTML page. Once set, this
font size is applicable to all the text following it, for which no other size is specified.
The <FONT> tag on the other hand lets one define size, style and color of a short segment
of text. Once </FONT> is reached the following text is rendered in default font size set by
<BASEFONT>.
A The Logical text styles render the text according to its meaning.
Example: <DFN>, <EM>, <CITE>, <KBD>
The Physical text styles are handled identically by all browsers.
Example: <B>, <I>, <TT>, <U> etc.
36. Which three tags let you create the definition lists?
A Correct answer:
(a) (i) a web address
(b) (ii) R
(c) (i) Left
(d) (iii) e-mail
(e) (iv) a search engine
Type C: Unsolved Examination Questions
10. What are comments in HTML? How are comments inserted in HTML code? Explain
with example.
A Comments are visible to anyone who view the page source code (HTML File), but are not
rendered when the HTML document is rendered by a browser.
Comments can be inserted
Using symbol as shown below,
<!-- Hello -->