Nielit July 2021 question paper with solutions

 NIELIT QUESTION PAPER
A/O LEVEL (A2-R5)
JULY 2021

WEB DESIGNING AND PUBLISHING SOLUTIONS


A2-R5 : WEB DESIGNING AND PUBLISHING


Note:-change in the examination pattern of o/a/b level course. So, there will be only MCQ in theory paper not subjective question.

PART ONE

(Answer all the questions)


1. Each question below gives a multiple

choice of answers. Choose the most

appropriate one and enter in the “OMR”

answer sheet supplied with the question

paper, following instructions therein.


1.1 Markup tags tell the web browser

__________.

(A) How to organize the page

(B) How to display the page

(C) How to display message box on page

(D) None of these


Answer (c) markup tags tell the web browser.

Example - html markup tag -head,body,title etc tags.


1.2 __________ attribute of text box control

allow to limit the maximum character.


(A) size

(B) len

(C) maxlength

(D) all of the above


Answer (c) maxlength attribute of text box control allow to limit the maximum character.



1.3 Web pages start with __________ tag.

(A) <Body>

(B) <Title>

(C) <HTML>

(D) <Form>

Answer (c) Web pages start with html then head, title, body etc.


1.4 The attribute, which define the

relationship between current document

and HREF’ed URL is :

(A) REL

(B) URL

(C) REV

(D) all of these


Answer  A REL is the right answer.

There are mainly two attributes like, REL and REV which define the nature of relationship between the documents and the links.

REL are used between current documents and linked sources.

REV is used between linked sources and current documents.


1.5 Correct HTML to left align the content

inside a table cell is :

(A) <tdleft>

(B) <td raligh = “left” >

(C) <td align = “left”>

(D) <td leftalign>


Answer (c) is the correct answer because we right left in double invented comma and should be mention td align.


1.6 Meta tag appear in ___________.

(A) <HEAD>

(B) <TITLE>

(C) <BODY>

(D) <FORM>


Answer (a) The <meta> tag defines metadata about an HTML document. <meta> tags always go inside the <head> element, and are typically used to specify character set, page description, keywords, author of the document, and viewport settings.


1.7 What is the full form of HTML ?

(A) Hyphenation text markup language

(B) Hyper text markup language

(C) Hyper text marking language

(D) Hyphenation test marking language


Answer (b) Hyper text markup language


1.8 <INPUT> is __________.

(A) format tag

(B) empty tag

(C) both (A) and (B)

(D) none of the above


Answer (b) The input element is empty. It contains attributes only. There is no need of an end tag in HTML.

Example <input type="text" id="lname" name="lname">


1.9 The map definition file is generally storedi in:

(A) CGI-BIN

(B) RECYCLE-BIN

(C) BIN

(D) All of the above


Answer (A) CGI - BIN is a folder used for scripts that interact with a web browser to provide functionality for a web page or website, Common Gateway Interface (CGI) for scripts in web design.  to use  Since scripts are sent from the server to the web browser, CGI - BIN is often referred to as a CGI - BIN.  is referenced in the URL.


1.10 The text inside the <TEXT AREA> tag

works like :

(A) <P> formatted text

(B) <T> formatted text

(C) <PRE> formatted text

(D) none of these.


Answer (c) <PRE> formatted text



2. Each statement below is either TRUE or
FALSE. Choose the most appropriate one
and enter your choice in the “OMR”
answer sheet supplied with the question
paper, following instructions therein.

2.1 The external style sheet may be written in any text editor but must be saved with a
.css extension.

Answer  ( True ) : External style sheet can be written in any text editor and used in HTML by importing it with the style tag inside the Head > tag. The extension of the style sheet file is CSS.

2.2 CSS background property is used to define the background effects on element.

Answer ( True) Background property in CSS allows you to control the background of any element CSS background property like background - color background image background - repeat background - attachment background - position We use to count count of any element.

2.3 The background-color property is used to specify the entire color of the element.

Answer(False) In CSS, the background color property of the bank element is used to specify a color.  Bankmount covers the total size of the element with padding and border excluding margin.


2.4 The background-position property defines the last position of the background image.

Answer  (false)Sets the starting position of the background image using the background position property By default a background image is placed in the upper left corner of an element.  and is repeated on both sides.

2.5 The CSS border properties do not include
border-style.

Answer (False) CSS is a property available under Border Properties.  Border - width Border - style , Border - color In these, the border width specifies the width of the border, in which the default value is medium.  border - style Specifies the style of the border with the default value 'none'.  Border Colour: Specifies the border color.  In this, the color of the text is its default value. 

2.6 The Border style property is used to specify the border type which you want to display on the web page.

Answer (True)The BorderStyle property specifies the border to be displayed on the web page.  It sets the border of an element.  It can have one to four values.  If only a single value is assigned to it, it will be set around by default. 

2.7 CSS display is the property of CSS which
controls the layout of the element.

Answer (True) display is a property of CSS which is used for the layout of the element.  controls.  It specifies the display behavior of an element.  For this .  ,  Inline , block , contents , flex , grid , inline - block , inline - flex , inline - grid inline |  ,  There is table list item etc.

2.8 The “none” value totally removes the
element from the page.

Answer (false) none " keyword is used to define Null value None equal to 0 ( Zero ) or False or an empty string. It does not remove the element from the page. does. 

2.9 List-Item makes the element behave like a <li> element.

Answer (True) The <li> list item element is used for items in both ordered and unordered lists.  The list item is quite broad for a list item, including paragraphs, lists, forms, tables.

2.10 The CSS float property is not a  positioning property.

Answer (false) The CSS float property controls the position and formatting of the content on the page. Its most common use is to use the float property to position any inline element around the image, including List , Paragraphs , Div span table , Including iframes and blockquotes etc.


3. Match words and phrases in column X with the closest related meaning/word(s)/phrase(s)
in column Y. Enter your selection in the “OMR” answer sheet supplied with the question paper, following instructions therein.

Column X Column Y

3.1 HTTP 
A. Photo editing tool
3.2 CSS 
B. Markup Standard
3.3 H1 ….H6 
C. XML
3.4 empty tags 
D. create a new function
3.5 SGML 
E. Cascading Style Sheet
3.6 JavaScript while loop 
F. Web Browser
3.7 bind() 
G. iterates the elements for the infinite
number of times
3.8 Google Chrome 
H. Mozilla Browser
3.9 Firefox
I. Hyper Text Transfer Protocol
3.10 Canva 
J. Headings
K. Maxlength
L. Title 
M. Function


3.1 HTTP -I. Hyper Text Transfer Protocol

3.2 CSS -E. Cascading Style Sheet

3.3 H1 ….H6 -J. Headings

3.4 empty tags -C. XML

3.5 SGML -B. Markup Standard

3.6 JavaScript while loop -G. iterates the elements for the infinite number of times

3.7 bind() -D. create a new function

3.8 Google Chrome -F. Web Browser

3.9 Firefox-H. Mozilla Browser

3.10 Canva - A. Photo editing tool


4. Each statement below has a blank space to fit one of the word(s) or phrase(s) in the list

below. Choose the most appropriate option, enter your choice in the “OMR” answer

sheet supplied with the question paper, following instructions therein.

A. <PRE> formatted text 

B. <LINK> 

C. FILTERS 

D. Brightness

E. RESET 

F. HEAD tag 

G. # 

H. HTTP

I. Header

 J. <CAPTION> 

K. DTD 

L. <t>

M. CSS list


4.1 The body tag usually used after _____

F HEAD tag _____.

4.2 The tag used to create a hypertext relationship between current document and another URL

is ____ B. <LINK>______.

4.3 The text inside the <TEXT AREA> tag works like _____A. <PRE> formatted text _____.

4.4 Win 10 Brightness Slider is a _____D. Brightness _____ tool.

4.5 The tag which allows you to rest other HTML tags within the description is __J. <CAPTION> ________.

4.6 Symbol used at the beginning of the HREF text is ____G. #  ______.

4.7 _____K. DTD _____ defines the syntax of the markup in SGML.

4.8 _____M. CSS list _____ improves the quality of an image without distorting it.

4.9 ____E. RESET ______ creates push button

4.10 ____H. HTTP ______ is an application layer protocol that works on request and response.


5. (a) What are style sheets ? How can

one change the number type in the

middle of the list ?

(b) Explain the three main ways to

apply CSS styles to a web page.

(c) What are pseudo classes and what

are they used for ?


Answer 5  a.

cascading style sheets allows the placing of all the design elements – colours, images, positioning, fonts, sizes and layouts to be placed in a separate file, the style sheet file. The content is placed in a text file or as records of a database. The html code along with other advanced code for supporting dynamic features is placed in the web page. The style sheet and the web page together function as a template, a container with predefined style elements.

When the user calls for a page, the content, the style and the code are combined dynamically to generate a web page. 

For example, a CSS style sheet (stored in a "special.css" file) of a paragraph Set the text color to green. and surrounds it with a solid red

 border. 

 p.special  [ color - green border solid red ; ]

 Changing the number type in the middle of a list The tag contains two attributes The type and valueType attributes can be used to change the numbering type of any list item The value attribute can change the number index.

(B) You can do in three different ways-

External Style Sheet- Styles are specified in an external CSS file. you can change the looks of entire website by using single external style sheet. Eg.: <head> <link rel="stylesheet" type="text/css" href=“ex1.css” /> </head>

 Internal Style Sheet- To Appy specific styles to a single HTML file inside the head section of an HTML page. Eg.: <style> p { text-align:left; font-size:24px; } </style>

Inline Styles- Styles are specified inside an HTML tag/element. Eg.: <p style="font-family:Algerian; font-size:28px;"> Demo of Inline Style </p>.

Inline:-

Inline CSS allows you to apply a unique style to one HTML element at a time. You assign CSS to a specific HTML element by using the style attribute with any CSS properties defined within it.

Inline styles in CSS could be useful for previewing changes instantly or adding CSS rules to only one or two elements. When you don't have access to your .css file, knowing how inline style CSS works can be convenient.

In the following example, you can see how to describe CSS style properties for an HTML <p> element in the same line of code. We use a style attribute to assign CSS styling properties.

 In this particular case, color and value (blue) apply to the HTML <p> element. <p style="color: blue;">This is a paragraph.</p>

Tip: use of inline CSS is not a recommendation. Combining CSS and HTML leads to messy code. Additionally, inline styles method is difficult to update.

<!DOCTYPE html>

<html>

<body>

 <h1> Computer</h1> 

 <h2 style="color: yellow; background-color: green;">Mouse</h2> 

 <p style="color: red; font-size: 25px;">Mouse is an electronic device</p> 

 <h2 style=" color: yellow; background-color: green;">Keyboard</h2> 

 <p style="color: red; font-size: 25px;">It is used for providing input.</p> 

 <h2 >Camera</h2> <p>It is used for providing image input.</p>

 </body> 

</html>


Internal css:-

An internal style sheet may be used if one single HTML page has a unique style.

The internal style is defined inside the <style> element, inside the head section.

Internal styles are defined within the <style> element, inside the <head> section of an HTML page.

Code of internal css:-

<!DOCTYPE html>

<html>

<head>

 <style type="text/css">

h2{color: yellow; background-color: green;} p{color: red; font-size: 25px;} </style> </head> <body>

 <h1> Computer</h1>

 <h2 >Mouse</h2> 

 <p >Mouse is an electronic device</p> 

 <h2 >Keyboard</h2> 

 <p>It is used for providing input.</p>

 <h2 >Camera</h2> 

 <p>It is used for providing image input.</p> </body> 

</html>

External css:-

With an external style sheet, you can change the look of an entire website by changing just one file!

Each HTML page must include a reference to the external style sheet file inside the <link> element, inside the head section.

An external style sheet can be written in any text editor, and must be saved with a .css extension.

The external .css file should not contain any HTML tags. Here is how the “design1.css" file looks like:

<!DOCTYPE html>

<html>

<head>

 <link rel="stylesheet" type="text/css" href="design1.css">

</head>

<body>

 <h1> Computer</h1>

 <h2 >Mouse</h2>

 <p >Mouse is an electronic device</p>

 <h2 >Keyboard</h2>

 <p>It is used for providing input.</p>

 <h2 >Camera</h2>

 <p>It is used for providing image input.</p> </body>

</html>

Design1.css

h1{color: blue; background-color: yellow;} h2{color: yellow; background-color: green;} p{color: red; font-size: 25px;}

(C) A Pseudo class in CSS is used to define the special state of an element. It can be combined with a CSS selector to add an effect to existing elements based on their states. For Example, changing the style of an element when the user hovers over it, or when a link is visited. All of these can be done using Pseudo Classes in CSS.

A pseudo-class is used to define a special state of an element.For example, it can be used to:Style an element when a user mouses over it Style visited and unvisited links differently Style an element when it gets focus.

All CSS Pseudo Classes

SelectorExampleExample description
:activea:activeSelects the active link
:checkedinput:checkedSelects every checked <input> element
:disabledinput:disabledSelects every disabled <input> element
:emptyp:emptySelects every <p> element that has no children
:enabledinput:enabledSelects every enabled <input> element
:first-childp:first-childSelects every <p> elements that is the first child of its parent
:first-of-typep:first-of-typeSelects every <p> element that is the first <p> element of its parent
:focusinput:focusSelects the <input> element that has focus
:hovera:hoverSelects links on mouse over
:in-rangeinput:in-rangeSelects <input> elements with a value within a specified range
:invalidinput:invalidSelects all <input> elements with an invalid value
:lang(language)p:lang(it)Selects every <p> element with a lang attribute value starting with "it"
:last-childp:last-childSelects every <p> elements that is the last child of its parent
:last-of-typep:last-of-typeSelects every <p> element that is the last <p> element of its parent
:linka:linkSelects all unvisited links
:not(selector):not(p)Selects every element that is not a <p> element
:nth-child(n)p:nth-child(2)Selects every <p> element that is the second child of its parent
:nth-last-child(n)p:nth-last-child(2)Selects every <p> element that is the second child of its parent, counting from the last child
:nth-last-of-type(n)p:nth-last-of-type(2)Selects every <p> element that is the second <p> element of its parent, counting from the last child.

nth-of-type(n)p:nth-of-type(2)Selects every <p> element that is the second <p> element of its parent
:only-of-typep:only-of-typeSelects every <p> element that is the only <p> element of its parent
:only-childp:only-childSelects every <p> element that is the only child of its parent
:optionalinput:optionalSelects <input> elements with no "required" attribute
:out-of-rangeinput:out-of-rangeSelects <input> elements with a value outside a specified range
:read-onlyinput:read-onlySelects <input> elements with a "readonly" attribute specified
:read-writeinput:read-writeSelects <input> elements with no "readonly" attribute
:requiredinput:requiredSelects <input> elements with a "required" attribute specified
:rootrootSelects the document's root element
:target#news:targetSelects the current active #news element (clicked on a URL containing that anchor name)
:validinput:validSelects all <input> elements with a valid value
:visiteda:visitedSelects all visited links

Note:-change in the examination pattern of o/a/b level course. So, there will be only MCQ in theory paper not subjective question.


Subject : Change in the examination pattern of O Level (IT) course and its equivalent papers in A/B Level (IT) with effect from July 2022 examination cycle NIELIT has been conducting the examinations of O, A, B, C Level (IT) courses under Pen-Paper based examination model on PAN India basis twice in a year. 

Over a period of time several enhancements and value-additions have been incorporated into the exemination system to improve the quality of learning and enhancement of the learning outcomes of the students. 

2. In order to further strengthen the process of examinations and speed up the result declaration as also to up keep the aim of the NIELUT to generate quality manpower by bridging the gap of theoretical and practical leārning and provide an appropriate ecosystem to the students to become more productive and industry ready, NIELIT has adopted a change in the examination pattern for examination of O Level (IT) and its equivalent papers in A/B Levei (IT) ie. dual mode of pen-paper as well as online. 

3. With the adoption of new examination pattern, following amendments in the examination pattern are introduced with effect from July 2022 examination cycle for examination of O Level (IT) and its equivalent papers in A/B Level (IT).

3.2 Mode of Examination Theory: OMR Based. 

3.3 Mode of Examination - Practical: As per existing model.

 3.4 Mode of submission of Project: As per existing model.

 3.5 The question paper for OMR based theory examination would be MCQ based

एक टिप्पणी भेजें

0 टिप्पणियाँ

Close Menu