Wednesday 5 July 2023

Web Designing and Publishing Through 'C' Language Set 2 | NIELIT O Level

Solved :  Web Designing and Publishing Through 'C' Language Set 2 | NIELIT O Level

1. Which of the following is a correct CSS Syntax ?
(A) {body; color:orange;} (B) {body: color=orange;}
(C) body:color=orange; (D) body{color:orange;}

2. Which of the following properties of an anchor element indicates that the user is currently clicking on an element ?
(A) :link (B) :visited (C) :hover (D) :active

3. Which of the following properties of an anchor element indicates that the user is currently clicking on an element ?
(A) :link (B) :visited (C) :hover (D) :active

4. How will you make all paragraph elements 'GREY' in color ?
(A) p.all {color: grey;} (B) p.all {color: #990000;}
(C) all.p {color: #998877;} (D) p {color: grey;}

5. Ctrl + ⇧ + F is the shortcut key for in sublime text editor.
(A) Find (B) Find in the Files
(C) Find in Folder (D) None of the above

6.Which CSS property should one use to encircle an image with text?
(A) Float (B) Push (C) Align (D) wrap

7.  Which type of CSS is used in the code below ?
<p style = "border:2px solid red;">
(A) External CSS (B) Internal CSS
(C) Inline CSS (D) None of these

8. Which shortcut key is used to duplicate the current line in Notepad++ ?
(A) Ctrl + Shift + D (B) Ctrl + Alt + D
(C) Ctrl + D (D) Alt + D

9. Which of the following is used for creating and manipulating photoshop images ?

(A)    Panels                 (B)     Layers                 (C)    Tools                    (D)    Effects

10. Who invented www (World Wide Web) ?

(A) Bill Gates (B) Lee. N. Feyong

(C) Tim Berners Lee (D) Tom Berners Lee

11. In the given img tag, what "img.png" inside the double quote implies ?
(A) element (B) attribute (C) value (D) operator

12. What is the keyboard shortcut for increasing a document's zoom level ?
(A) Alt + the plus key (+) (B) Ctrl + the plus key (+)
(C) Alt + > (D) Ctrl + z

13. Which of the following is not a browser ?
(A) Microsoft Edge (B) Google Meet
(C) Mozilla Firefox (D) Google Chrome

14. Which is the correct syntax for Angular Module ?

(A) var variable_name = angular.module("app_name", []);

(B) var variable_name =angular.modules("app_name”);
(C) var variable_name = angular.module();

(D) var variable_name = new module();

15. Which of the following is video format in HTML5 ?
(A) MP5 (B) WebM (C) wbr (D) None

16. How to close all files open in Notepad++?
(A) File Menu -> Close option (B) Search Menu -> Close all
(C) File Menu -> Close all (D) Ctrl + w

17. Which of the following is/are a <style> tag(s) ?
(A) <b> (B) <tt>
(C) <i> (D) All of the above are style tags

18. Which of the following options can be used to remove parts of an image ?
(A) print (B) crop (C) rotate (D) resize

19. Which of the following attributes defines the URL of the page to embed when the <iframe> tag is used ?
(A) src (B) href (C) style (D) title

20.   ______ are computers that connect to a network and deliver resources to other computers.
(A) Servers (B) Mainframe (C) Network (D) Clients

21. Which of the following is true about AngularJS expressions ?
(A) Expressions behave in same way as ng-bind directives
(B) Expressions are used to bind application data to html
(C) Expressions are written inside double braces like {{expression}}
(D) All of these

22. Which of the following statements define Arrays in JavaScript ?
(A) It is an ordered list of values (B) It is an ordered list of objects
(C) It is an ordered list of string (D) It is an ordered list of functions

23. Which of the following properties is used to set the face of a font ?
(A) font-family (B) font-face (C) font-variant (D) font-style

24. Consider the below div tag content statement, how to print the value of "UserName"?
<div ng-app="" ng-init="firstName='John'">
<p>Input something in the input box:</p>
<p>Name: <input type="text" ng-model="UserName"></p>
<p>You wrote: </p>
</div>
(A) UserName (B) {{UserName}} (C) {UserName} (D) {_UserName}

25. For generalized color correction, which command adjusts the overall combination of colors in an image ?
(A) The Color Balance (B) Variations
(C) Curves (D) None of the above

26. Which feature of photoshop track recent changes made to an image ?
(A) Help (B) Creative suite (C) History Panel (D) File

27. How can one change the font of an element ?
(A) f: (B) Font: (C) Font-family: (D) Font:b

28. What is a Model in MVC ?
(A) the lowest level of the pattern responsible for maintaining data
(B) represents server-side data
(C) represents data stored in a database
(D) none of the mentioned

29. Marquee tag is used for .

(A) To scroll piece of text or image (B) Mark the list of items
(C) To hide the text (D) None of the above

30. How to read and render an HTML page ?
(A) Through Web server (B) Through Web network
(C) Through Web browser (D) Through Web matrix

31. HTML Tags are enclosed in .
(A) ? And! (B) < And > (C) {And} (D) # And #

32. File transfer from any webpage to computer system is referred to as .
(A) Uploading (B) Forwarding (C) Downloading (D) Transferring

33. What is the file extension for a Photoshop file ?
(A) .psd (B) .pds (C) .photo (D) .phsd

34. For what purpose is the CSS padding property used ?
(A) Border (B) Space
(C) Background Color (D) Margin

35. A color system's range of colors that it can display or print is .
(A) Dithering (B) The Gamut
(C) Color Model (D) None of the above

36. Which of the following is not possible to animate using CSS?
(A) Padding (B) Word-spacing (C) Text-transform (D) Width

37. Which tool is used to write your name on an image ?
(A) Transform tool (B) Draw tool (C) Text tool (D) Sketch tool

38. Which of the following is correct ?
(A) Style sheets allow content to be optimized for more than one type of device.
(B) CSS can store web applications locally with the help of an offline cache.
(C) Using CSS, we can view offline websites. The cache also ensures faster loading and better overall performance of the website.
(D) All of the above.

39. HTML metadata is present in which of the following tags ?
(A) <Head> (B) <body> (C) <title> (D) <p>

40. When working with a Mask Layer, for an erasing effect, what tool is used to "take away" and "add" to the picture ?
(A) Selection Tool (B) Paint Brush (C) Paint Bucket (D) Lasso Tool
 
41. What is the output of the following JavaScript code ?
<script> var a;
document.getElementById("demo").innerHTML = a+1;
</script>
(A) 0 (B) undefined (C) 1 (D) NaN

42. Which one of the following is not considered as an error :
(A) Division by zero (B) Missing of Bracket
(C) Syntax error (D) Missing of semicolons

43. Ctrl + ⇧ + P is the shortcut key to open in sublime text editor.

(A) Web Browser (B) Command Prompt
(C) Quick-open files by name (D) Toggle sidebar

44. Which of the following statements is/are correct ?
(A) An IP address consists of four bytes (or 32 bits) each of which can be a number from 0 to 255.
(B) For browsing or sending an email, an IP address assigned to the computer is required.
(C) IP address is always unique for each computer.
(D) All are correct.

45. Which of the following defines the set of rules that are followed by each computer present on a network ?
(A) Web (B) HTTP (C) Domain (D) Protocol

46. Which of the following file types does not have the ability to be animated ?
(A) .PNG (B) .PSD
(C) .GIF (D) None of the above

47. If params is a DOM object for a paragraph, which of the following is a correct syntax to change the text in the paragraph ?
(A) params.value = “Updated Text”;
(B) params.content=”Updated Text”
(C) params.nodeValue = “Updated Text”;
(D) params.firstChlid.nodeValue = “Updated Text”;

48. Which of the following directives allows one to use form ?
(A) ng-app (B) ng-form (C) ng-controller (D) ng-bind

49. Which is the correct syntax to call an external JavaScript file in the current HTML document ?
(A) <script src=" test.js"></script> (B) <script href=" test.js"></script>
(C) <import src=" test.js"></import> (D) <script link=" test.js"></script>

50. Which of the following is/are the purpose of markup language ?
I. Add hypertext capabilities
II. Enhance the document
III. To define elements within a document.
(A) Only I (B) I and II (C) Only III (D) I, II and III

51. Which statement specify correct difference between var and let keywords in JavaScript ?
(A) var defines a variable while let defines a constant.
(B) There is no such major difference between them.
(C) The value of a variable declared with var can be changed while the value of a variable declared with let cannot be changed.
(D) var defined function scoped variable while let define block scoped variable.

52. Which of the following is required for joining the internet ?
(A) Internet architecture board (B) Internet society
(C) Internet service provider (D) Different computer

53. How to insert multiple line comments in a CSS file ?
(A) //statement (B) „statement
(C) /* statement */ (D) // statement //

54. Which CSS property helps one to decide whether the text dots (ellipsis), or display a custom string ?
(A) Text-decoration (B) Text-stroke
(C) Text-shadow (D) Text-overflow

55. Which of the following is used to create an ordered list in HTML?
(A) <ul> (B) <ol> (C) <pl> (D) <hl>

56. HTTP stands for _______ .
(A) Hyper Text Transfer Protocol
(B) Hyper Trasfer Text Protocol
(C) Hyper Text Transmission Protocol
(D) Hyper Transmission Text Protocol

57. From the below mentioned CSS properties, which of the following is used to make the text bold?
(A) Text-align: bold (B) Font-style: bold
(C) Font-weight: bold (D) Text-decoration: bold

58. Which of the following is not a mouse event ?
(A) onclick (B) onmousescroller
(C) onmouseover (D) onmousemove

59. Which selector selects elements based on a certain state ?
(A) Combinator selector (B) Pseudo Class selector
(C) Pseudo elements selector (D) Attribute selector

60.  Which of the following is not a text editor ?
(A) Paint (B) Sublime
(C) Notepad++ (D) Visual Studio Code

61. By using CSS style or code, how can one remove the underline from all hyperlinks ?
(A) a {text-decoration: no-underline;}
(B) a {text: no-underline;}
(C) a {text-decoration:none;}
(D) a {text-style: no-underline;}

62. The correct syntax to write “Sky is blue” in JavaScript is :
(A) jscript.write(“Sky is blue”) (B) document.write(“Sky is blue”)
(C) print(“Sky is blue”) (D) jscript.print(“Sky is blue”)

63. What will be the output of the following JavaScript code ?
<p id="demo"></p>
<script> var js = 10; js *= 5;
document.getElementById("demo").innerHTML = js;
</script>
(A) 10 (B) 15 (C) 5 (D) 50

64. Which CSS attribute(s) should one use to create a pink dotted border around an image?
I.
II. border-line border-style
III. border-color
(A) I (B) II (C) III (D) Both II and III

65. What will happen in the following case ?
h1 {color: red text-decoration: underline; font-style: italic;}
(A) color: red, text-decoration: underline and font-style: italic all works
(B) text-decoration: underline and font-style: italic works
(C) color: red, text-decoration: underline works
(D) only font-style: italic works

66. Which of the following markup languages are based on SGML ?
(A) VHML (B) XML (C) CFML (D) SML

67. Which of the following is true for pseudo class in CSS ?
(A) Match A Specified Element
(B) Select The Active Links
(C) Are Used to Select All the Visited Links
(D) Are Used to Define a Special State of An Element

68. Which of the following is true ?
(A) BR tag is used to have a blank line
(B) In tables, the header cell is centered by default and the data cells are right-aligned
(C) The <TR> is used to create a data cell
(D) INPUT tag must have at least 4 attributes

69. Which of the following statement(s) is/are true ?
I. The web designer shouldn‟t just be concerned about the looks but also about user
interface
II. Usability is very important in web design
(A) Only I (B) Only II
(C) Both I and II (D) None of the above

70. What is the proper html syntax for referencing an external style sheet ?
(A) <style src="demostyle.css”>
(B) <stylesheet>demostyle.css</stylesheet/>
(C) <link rel = “stylesheet” type= “text/css” href= “demostyle.css”>
(D) None of these

71. Which of the following expressions is true ?
(A) { expression } (B) [{ expression }] (C) _expression (D) {{ expression }}

72. To control image repetition in CSS , the correct option is :
(A) h1 { background-loop: none; }
(B) h1 { background-repeat: none; }
(C) h1 { background-iterate: none; }
(D) None of the above

73. tag is used for inserting the largest heading in HTML ?
(A)    <h3> (B)    <h1> (C)    <h6> (D)   <h2>

74. Which of the following is used to apply a specific rule and can never be overridden in CSS ?
(A) @important (B) !important! (C) !important (D) important!

75. For which of the following purpose(s) JavaScript is designed for ?
(A) To style HTML Pages
(B) To perform server-side scripting operation
(C) To execute query related to DB on server
(D) To add interactivity to HTML Pages

76. Which CSS Property specifies the clarity of the image ?
(A) Overlay (B) Clearfix (C) Clarity (D) Opacity

77. The “color:black” in CSS syntax is known as                       .(A)    Value                   (B)     Declaration          (C)    Selector               (D)    Rule

78. Which of the following is an example of a search engine on the internet ?(A) MS Office (B) Google (C) Gmail (D) Windows

79. Which CSS selector will be used to define a single element's style ?(A) Id (B) Class (C) Text (D) Name

80. In the following transition, what does .4s describe ? transition: color .4s linear;
(A) Word-spacing (B) Padding (C) Duration (D) Property

81. AngularJS is a .
(A) HTML Framework (B) .Net Framework
(C) JavaScript framework (D) Oracle Framework

82. Code 1;
for(var number=10;number>=1;number--)
{
document.writeln(number);
}

Code 2 ;
var number=10; while(number>=1)
{
document.writeln(number); number++;
}
(A) Code 1 (B) Code 2
(C) Both Code 1 and Code 2 (D) Cannot Compare

83. What is a module in AngularJS ?
(A) expression (B) application
(C) element (D) none of the above

84. What is the standard resolution of images on the web ?
(A) 72 PPI (B) 300 PPI (C) 256 PPI (D) 172 PPI

85. Which attribute is used for body background color ?
(A) bgcolor (B) background
(C) back color (D) None of the above

86. Which of the following options is incorrect with reference to status codes ?
(A) 200 OK (B) 304 Not Found
(C) 400 Bad Request (D) 301 Moved Permanently

87.   ______is the HTML tag used for superscript text.
(A) <sup> (B) <superscript>
(C) <s> (D) <superscripted>

88. In CSS, selectors are used to select the elements you want to style.
(A) Classes (B) Patterns (C) Properties (D) Functions

89.   is a declaration for an HTML5 document.
(A) <!DOCTYPE html> (B) </DOCTYPE html>
(C) <DOCTYPE html> (D) <DOCTYPE html!>

90. CSS syntax is divided into parts.
(A) Selector and Declaration (B) Property name and value
(C) Color and style (D) None of these

91. Image is changing the appearance of an image by altering the colors of the pixels.
(A) cropping (B) filtering (C) blurring (D) rotating

92. Which of the following is the CSS Extension Prefixes for Webkit ?
(A) -webkit (B) -o- (C) -web (D) -chrome

93. W3.CSS is a standard CSS that has :
(A) jQuery library. (B) JavaScript library.
(C) Both (A) and (B) are true. (D) Both (A) and (B) are false.

94. Which program is used by web clients to view the web pages ?
(A) Web browser (B) Protocol (C) Web Server (D) Search engines

95. Which of the following ways are valid to specify white color using CSS ?
I. #FFFFFF
II. rgb (255, 255, 255)
III. rgb (FF, FF, FF)
(A) Only I (B) Only III (C) Both I and III (D) Both I and II

96. The internet originated from the concept of .
(A) Microsoft (B) ARPANET (C) Web (D) IBM

97. Which of the following is the correct option for the requirement of web publishing ?
(A) Internet Connection (B) Web development software
(C) Web Server (D) All of the above

98. What type of value gets printed if we add the following two variables ? var a = "10";var b = 50;
(A) Long (B) Text (C) Integer (D) Number

99. W3.CSS does not provides the following border class.
(A) w3-border-top (B) w3-border-right
(C) w3-border-bottom (D) w3-border-gutter

100. Which CSS property specifies how a video, or an image is resized to fit its content box ?
(A) Position (B) Object-position (C) Object-fit (D) None of these







No comments:

Post a Comment