HTML is an acronym for ______________.
Hypertext Markup Language
What is the use of BASEFONT tag?
The basefont tag is used to define basic font size for the HTML tag.
Consider the following HTML statement:
< TABLE BORDER =’3’ CELLSPACING =’1’ CELLPADDING=’1’ >
In the above statement, what do you mean by ‘CELLSPACING and ‘CELLPADDING?
Cellspacing gives the amount of space between cells.
Cellpadding gives the amount of space between the cell border and the cell contents.
Posing as someone else online and using her/his personal /financial information shopping online or posting something is a common type of cybercrime these days. What are such types of cybercrimes collectively called?
Online fraud
Define plagiarism.
Stealing someone else’s intellectual work and representing it as own is known as plagiarism.
What do you mean by Intellectual property rights?
Intellectual property rights are the rights of the owner of information to decide how much information is to be exchanged, shared or distributed.
Write some examples of proprietary and OSS software.
Open Source Software: Linux
Proprietary software: Microsoft Windows 8
How MMS is different from SMS?
MMS refers to Multimedia Messaging Service and is a standard way to send a message that includes multimedia content.
SMS refers to Short Message Service and referred to as a text message that includes up to 160 characters.
What is Video conferencing? What types of equipment are needed to use video conferencing?
Video conferencing is a two-way videophone conversation. It uses a computer, video camera, microphone, etc. and network such as the Internet, to conduct a live conference between two or more people.
Meghan buys a washing machine from the Xpool websites.
i. What is this way of shopping called?
ii. Describe one advantage to the customers of e-sales.
i) E-Shopping
ii) Convenience is the main advantage to the customers as she locates the products that she wants to purchase and pay money over the internet. Online stores are open 24 hours a day.
What is the method by which we can view the source code from the web browser? What is the difference between bgcolor and background attributes?
We can view our source code by right-clicking on the web browser and select view source from the menu.
The background attribute is used for adding an image as a background of the webpage.
Bgcolor is used to set the background color of the web page.
Write the program to display the list in order which is numbered in numbers, showing the grocery list.
< HTML>
< HEAD >
< TITLE > List of grocery item < /TITLE >
< BODY >
< ol type=”1” >
< li>vegetables
< li> olive oil
< li> salt
< li> milk
< /ol >
< /BODY >
< /HEAD >
< /HTML >
Form a CSS code within the < head >….< /head > for the following specifications:
Background color: powder-blue
The table heading should be in blue color.
< HTML >
< HEAD >
< style >
body {background-color: powderblue;}
th {color: blue;}
< /style >
< /HEAD >
< TITLE > Inline styles < /TITLE >
< body >
< table style=”font-family: Arial; font-size: small” >
< tr >
< th >
Emp_ID
< /th >
< th >
Department
< /th >
< /tr >
< tr >
< td > 1< /td >
< td >computer science< /td >
< /tr >
< tr >
< td >2< /td >
< td >biology< /td >
< /tr >
< tr >
< td >3< /td >
< td >maths< /td >
< /tr >
< tr >
< td >4< /td >
< td >hindi< /td >
< /tr >
< /table >
< /body >
< /html >
Output:
What will be the output of the following html code?
< HTML >
< BODY >
< TABLE BORDER=4 >
< TR >
< TD ALIGN=center ROWSPAN=3 COLSPAN=3 >DATA< /TD >
< TD >HELLO< /TD >
< TD >WORLD< /TD >
< /TR >
< TR >
< TD > I AM< /TD >
< TD >GOOD< /TD >
< /TR >
< TR >
< TD ALIGN=CENTER ROWSPAN=3 COLSPAN=3 >VALUES< /TD >
< TD ALIGN= CENTER ROWSPAN=3 COLSPAN=3 >THAT GREAT< /TD >
< /TR >
< /TABLE >
< /BODY >
< /HTML >
Differentiate between CELLSPACING and CELLPADDING.
CELLSPACING gives the space between the cells whereas CELLPADDING gives the space between the cell border and cell content.
CELLSPACING is for two or more columns whereas CELLPADDING is for a single cell.
Write the HTML syntax to do the following:
a. To display a horizontal line of red color
b. To add the image in background
c. To add hyperlink
a. < hr color="red" >
b. < body background= "image url" >
c. < a href= "url" > < /a >
Differentiate between Repeat block and Repeat Until block.
Repeat block iterates a specified number of times and Repeat Until repeats as long the given condition is false. These iteration blocks are available under Control blocks.
Study the scripts given below and answer the questions.
a) Alisha has written a program to store the input from the user. She has created a variable named Input. What will be the final value of the variable after the execution of the program?
b) In the given script, if you want the sprite to say “Hello Annie”, what should be the last line of the program?
c) What happens when the green flag is clicked?
a) The variable holds the User’s friend’s name. Variables can only hold one value at a time, unlike lists. block will set the specified variable to the given value: a string or number.
b) The correct code is:
c) When the green flag is clicked, Scratch Cat asks us how many sides you want to draw.
If the answer is 5 then the cat draws the 5 sided polygon.
Name the category of blocks that should be selected to do the following and explain:
(i) Point in direction
(ii) When the green flag is clicked
i) Motion blocks control a sprite’s movement, rotation, and position on the stage.
ii) Hat blocks are used to start a script and are usually found in the Events category of blocks.
for i in range(8,0):
print i+1
What is the output of the following code?
It produces an empty sequence as when only two numbers are given in range(), the first number is treated as a lower limit of sequence and the second number is treated as an upper limit of sequence with default step value is 1. There are no values falling in range 8 to 0 with step 1, hence empty sequence.
Write a python code to calculate the sum and average of n numbers using a while loop.
The value of n =2
Write a python program to find the largest number among the three input numbers.
Rohan wants to double the value 5 and raise it to the power of 2, so he wrote the following expression.
print 5*2**2
i. What result did she get from his expression?
ii. Is the answer produced by the above expression equal to 100? If not why?
i. 20
ii. No, the answer is not equal to 100. The reason behind this is that operator ** has higher precedence than operator *, hence 2**2 is executed first and then multiplied with 5.
Take your CBSE board preparation to another level with AI based and rich media animation on Extramarks - The Learning App.
Features of Learning App