Sunday 2 July 2023

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

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

1. “w3-border-0” is a border property for w3.css, which of the following is true ?
(A) It has rounded borders
(B) removes all borders
(C) removes rounded borders only
(D) None of these

2. “w3-row-padding” is a class which defines :
(A) Container for responsive classes, with 8px left and right padding
(B) Container for responsive classes with no padding
(C) Container for responsive classes with padding
(D) None of these

3. What is true for HTML ?
(A) It is used to design static web pages.
(B) It is used to design dynamic web pages
(C) Both (A) and (B) are true
(D) None is true

4. The proper sequence of tags in HTML while coding for a web page is :
(A) < HTML >, <TITLE>, <BODY>, <HEAD>
(B) <HEAD>, <HTML>, <TITLE>, <BODY>
(C) <HTML>,<HEAD>,<TITLE>,< BODY>
(D) <HTML>, <HEAD>, <BODY>, <TITLE>

5. If you think the value of the variable can change then which keyword is used ?
(A) Var (B) Const (C) Let (D) nothing

6. In CSS the difference between two lines of your content is set by :
(A) min-height property (B) line-height property
(C) max-height property (D) none of these

7. #myHeader {
background-color: lightblue; color: black;
padding: 40px; text-align: center;
}
</style>
The # in the above lines of code represents:
(A) an id tag (B) class name (C) an universal tag (D) horizontal frame

8. What is the World Wide Web ?
(A) Software that controls the internet.
(B) Another name for the internet.
(C) System for interconnected WebPages which are accessible over the internet.
(D) All of the above

9. Following HTML tag is used to declare internal CSS :
(A) <style> (B) <Head> (C) <link> (D) <Script>

10. Which of the following type of variable is visible only within a function where it is defined ?
(A) Global variable (B) Local variable
(C) Both (A) and (B) (D) None of the above

11. Function that allow calculation in CSS :
(A) calc() function (B) calculator() (C) calculate() (D) calcu()

12. The curve adjustment is used to control the :
(A) exposure in the image (B) shape of the image
(C) direction of the image (D) All of the above

13. All the tags present in HTML are :
(A) Non - Case Sensitive (B) Lower Case
(C) Upper Case (D) Case Sensitive

14. Which of the following Programming languages are used for Back end purpose :
(A) C# (B) Ruby (C) Golang (D) All of the above

15. The attribute used to change the background color of an element in CSS :
(A) bgcolor (B) color-bg
(C) bg-color (D) background - color

16. Which of the following element does not belong to the w3-container class ?
(A) <section> (B) <get>
(C) <blockquote>. (D) <header>

17. “w3 - border” is one of the class used for w3.CSS tables which defines :
(A) Bordered lines (B) Bordered Table (C) Dashed lines (D) None of these

18. Which of the following are free web browsers ?
(A) Opera (B) Mozilla Firefox
(C) Brave (D) All of the above

19. Which of the following selector is used to select elements whose attribute value ends with a specified value.
(A) [attribute="value"] (B) [attribute$="value"]
(C) [$attribute="value"] (D) [attribute^ =”value”]

20. “This” is a :
(A) Keyword (B) Function
(C) Declaration Statement (D) Data Type

21. A module in AngularJS can be created using :
(A) angularjs.module (B) module.angular
(C) angular.modules (D) angular.module

22. The protocol HTTP works on which port ?
(A) 20 (B) 80 (C) 21 (D) 443

23. The alert() function in JavaScript is used for :
(A) To display a virtual alert box
(B) To display output on console
(C) To evaluate the expression
(D) Both (A) and (C)

24. Function to insert values of a CSS variable is :
(A) var() (B) rand() (C) varchar() (D) calc()

25. A type of combinator in CSS is :
(A) > (B) + (C) ~ (D) All of the above

26 .<img src="xyz.jpg" class="w3-circle" alt="Alps">.
What is the usage of “alt” attribute in the above line of code ?
(A) specifies an alternate text if the image is not displayed
(B) displays an alternate text along with the image
(C) displays the image only
(D) None of these

27 . Which of the following is true for HTTP protocol ?
(A) Stateless (B) Statefull (C) Both (A) and (B) (D) None of these

28. New layers in an image are always added to the :
(A) Top of the stack (B) Bottom of the stack
(C) middle of the stack (D) none of the above

29. The HTML <iframe> tag specifies.
(A) an inline frame (B) an outline frame
(C) vertical frame (D) horizontal frame

30. Which of the following is not a selection tool in Photoshop?
(A) Marquee (B) Lasso (C) Grow (D) Reverse

31. Uniform Resource Locator
(C) Universal Resource Locator (D) None of these

32. The root element is another name of which of the following tags ?
(A) <head> (B) <BODY> (C) < element > (D) < HTML >

33. What are the following Indentation options available in the sublime text editor :
(A) Indent (B) Unindent (C) Reindent (D) All Of the above

34. AngularJS developed by_____and follows .
(A) Misko Hevery, Model View Controller
(B) Elon Musk, Model View Data
(C) Bill Gates, Spiral Model
(D) Amazon, Model View System

35. Document Object Model represents :
(A) Whole HTML Document (B) only <title> element
(C) <body>..</body> element (D) none of the above

36 . Which protocol is used to transmit information on www ?
(A) HTPP (B) HTTP (C) HPPT (D) HTTTP

37. Id selector is donated by the :
(A) # (B) 1#
(C) * (D) None of the above

38. Which of the following framework are used for back end ?
(A) Flask (B) Express (C) Django (D) All of the above

39. Which of the following directives are used in AngularJS ?
(A) ng - app (B) nc - init
(C) Both (A) and (B) (D) None of the above

40. Which of the following is not a browser ?
(A) Chrome (B) Firefox (C) Google (D) Safari

41. *my classname
{
attributes here
}
In the above line of code * represents:
(A) class selector (B) universal selector.
(C) id selector (D) None of the above.

42. Which of the following w3.CSS classes is not used to align-text ?
(A) class="w3-left-align" (B) class="w3-right-align”
(C) class="w3-center-align" (D) class="w3-center"

43. The ng-model directive in AngularJS provides :
(A) type validation for application data
(B) status for application data
(C) CSS classes for HTML elements
(D) All of the above

44. Which of the following classes used to display an extra large list ?
(A) w3-large. (B) w3-xxlarge (C) w3-xlarge (D) None of these

45. HSL in CSS stands for ?
(A) hue, standard, lightning (B) height, standard, line-break
(C) hue, saturation, lightness (D) hue, standard, line-width

46 . Notepad++ is written in which language -
(A) PHP (B) Python (C) C++ (D) Java

47. Which of the following IDE's (Integrated Development Environment) are used for the development of AngularJS ?
(A) Sublime Text (B) Eclipse (C) Visual Studio (D) All of these

48. To add rounded corners to an image which class is used :
(A) w3-round - corner. (B) w3-rounded.
(C) w3-round. (D) None of these

49. The type of CSS popularly used for designing pages for websites :
(A) Inline (B) External
(C) Internal (D) None of the above

50. In order to change the shape which tool is used ?
(A) Free transform tool (B) Free tool
(C) Transform Free tool (D) None of the above

51. How to change the text sizes in CSS ?
(A) font-family (B) font size (C) font (D) Both (A) and (C)

52. Which of the following is not a search engine ?
(A) Safari (B) Yahoo (C) Google (D) DuckDuckGo

53. “s3” class in w3.CSS  defines :
(A) 3 of 12 columns (width:33.33%) for large screens.
(B) 3 of 12 columns (width:33.33%) for small screens
(C) 3 of 12 columns (width:25.00%) for small screens.
(D) 3 of 12 columns (height:25.00%) for large screens.

54. On encountering an empty statement the interpreter will do :
(A) Encounters an error (B) Ignores the statements
(C) Throw exception (D) none of these

55. Confirm() method in JavaScript belongs to which method ?
(A) document (B) window (C) frame (D) method

56. Which of the following is the default font size used in w3.CSS ?
(A) Times New Roman (B) Verdana
(C) Arial (D) Segoe UI

57. Sublime text editor is written in which language -
(A) PHP (B) Python
(C) C++ (D) Both (B) and (C)

58. Which of the following are two common event handler function use for both Buttons and Movie Clips ?
(A) onRollOver() (B) onRollOut()
(C) both (A) and (B) (D) none of the above

59. Which of the following is the correct CSS syntax ?
(A) <h1 "color:Tomato;">...</h1>;
(B) <h1 style:"color=Tomato;">...</h1>;
(C) <h1 style="color:Tomato;">...</h1>;
(D) <h1 “color=Tomato;">...</h1>;

60. Which of the following is the symbol used for filter in AngularJS is ?
(A) || (B) | (C) ^|^ (D) &|&

61. Which tags won’t get affected if their closing tags are not used in html ?
(A) <html> (B) <hr> (C) <br> (D) Both (B) and (C)

62. Which of the following is the correct Tween in Adobe Flash CS4 ?
(A) Classic Tween (B) Shape tweens (C) Motion Tween (D) All of the above

63. What will be the response of the form if we set the value of method attribute
(method = “post”) to POST ?
<form method="post"> ……. </form>
(A) Submitted form data is not shown in the URL
(B) Submitted form data is shown in the URL
(C) Appends the form data to the URL, in name /value pairs
(D) None of these

64. Which of the following is used to specify the transparency of an element is in CSS :
(A) opacity (B) filter (C) visibility (D) vague

65. The following operator “>>>” represents :

(A) Bitwise Right shift (B) Bitwise Right shift with zero
(C) Bitwise Left shift (D) Bitwise Left shift with zero

66. Sublime Text editor is compatible with which of the following Operating System :
(A) Windows (B) Linux (C) MacOS (D) All Of the above

67. The correct syntax for referring to an external CSS ?
(A) <link rel=”stylesheet” type=”text/css” href=”style.css>
(B) <style rel=”stylesheet” type=”text/css” href=”style.css>
(C) Both (A) and (B)
(D) neither (A) nor (B)

68. Which of the following supported the initial INTERNET development ?
(A) IBM (B) Microsoft (C) ARPANET (D) None of these

69. How to add shadow to text in CSS ?
(A) Content Shadow (B) Text Shadow (C) Word Shadow (D) Text outline

70. Which of the following are the methods of the MovieClip object ?
(A) play() (B) stop() (C) gotoAndplay() (D) All of the above

71. How many heading tags are available in HTML by default ?
(A) 2 (B) 6 (C) 4 (D) 7

72. How to remove parts of an image ?
(A) by using crop feature (B) by using resize feature
(C) by using rotate feature (D) by using print feature

73. Expressions in AngularJS can be written as :
(A) {{expression}} (B) ng - bind = “ expression ”
(C) Both (A) and (B) (D) None of the above

74. A new directives in AngularJS is created by using the :
(A) .directive (B) .directives
(C) function.directive (D) angular.directives

75. SGML stands for ?
(A) Standard group markup language
(B) Style general markup language
(C) Standard generalized markup language
(D) Style generalized markup language

76. Which of the following is a type of web hosting ?
(A) Shared hosting (B) Virtual private server
(C) Cloud (D) All of these

77. _______option you would adjust to make the colors more vivid ?
(A) Sharpness (B) Noise reduction
(C) Saturation (D) Image Dimensions

78. Who proposed the www (World wide web) ?
(A) Tim Berner Lee (B) Bill Gates (C) Elon Musk (D) Bill Rogers

79. “w3-hover-color” class defines the :
(A) text hover color for any html element.
(B) color of any html element.
(C) background hover color for any html elements
(D) None of these

80. In which of the following way you can insert a SCRIPT tag in JavaScript ?
(A) Between two BODY tags
(B) Between two HEAD tags
(C) In the HEAD section as a link to an external file
(D) All of the above

81. In CSS which of the following are different types of gradients :
(A) Linear (B) conic (C) Radial (D) All of the above

82. Which property of w3.CSS restrict a responsive image to a maximum size ?
(A) max:width property (B) image:restrict property
(C) max:height property (D) image:width property

83. Which of these represents the description list tags ?
(A) <tr>, <td> <dl>, (B) <dt>, <dl>, <d>
(C) <dt>, <dl>, <dd1> (D) <dt>, <dl>, <dd>

84. 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.

85. Which of the following is the correct syntax of variables in javascript ?
(A) 2number (B) my phone number
(C) my_phone_number (D) None of these

86. An HTML program can be compiled using which extension ?
(A) .html and .ht (B) .ht and .htm (C) .html and .h (D) .htm and .html

87. The syntax of AngularJS looks like :
(A) <div ng-app = “ “> …… </div> (B) <div nk-app = “ “> …… </div>
(C) <div nc-init = “ “> …… </div> (D) none of the above

88. W3.CSS has a panel class that adds top and bottom margin and left and right padding to any HTML elements respectively. Which of the following is true ?
(A) 16 px , 16 px, 16px, 16 px (B) 16 px , 20px, 14px, 14 px (C) 16 px , 16 px, 14px, 14 px (D) 14 px , 14 px, 16px, 16 px

89. Which of the following is an image file format ?
(A) .docx (B) .txt (C) .pdf (D) .jpg

90. The attribute used to make rounded corners around an element in CSS is :
(A) border-radius (B) border-round
(C) border-spacing (D) none of the above

91. Different ways in which CSS one can be added to the HTML :
(A) Inline (B) Internal (C) External (D) All of the above

92. Give the output of the program
<html>
<body>
<script>
var number=50;//global variable function a(){
alert(number);
}
function b(){ alert(number);
} a();
</script>
</body>
</html>
(A) 50 (B) Error
(C) Number (D) None of the above

93. Symbol used to write comment in CSS is :
(A) /**/ (B) // (C) ## (D) #

94. Syntax to add containers in w3.CSS :
(A) class ="w3-container" (B) class = “container”
(C) class = “w3.container” (D) None of these

95. Which of the following is not a photo editor tool ?
(A) Canva (B) Photopea (C) Pixel (D) All of the above

96. Which of the programming languages supported by Notepad++ ?
(A) MATLAB (B) R (C) Both (A) and (B) (D) None of these

97. Tone balance feature in Photoshop is split into:
(A) Shadows (B) Midtones (C) Highlights (D) All of the above

98. <!DOCTYPE html>
<html>
<body>
<h2>The name Attribute</h2>
<form method = “get”>
First name:<br> <input type="text" value="Shivansh"> <br>
Last name:<br> <input type="text" name="lastname" value="kumar"> <br>
<input type="submit" value="Submit">
</form>
</body>
</html>
In the above code, the name attribute is missing (bold line ). What will be the effect of not using the name attribute ?
(A) Value of that input field will not be submitted
(B) Value of that input field will be submitted
(C) The above code will get an error
(D) None of these

99.What will be the response if we set the value of target attribute to “_blank” in form element?

<form target="_blank"> ……. </form>

(A) The response is displayed in the current window
(B) The response is displayed in a new window or a tab
(C) The response is displayed in the parent frame
(D) None of these


100. What does an empty tag represent ?
(A) No concept like this. (B) Does not require a closing tag.
(C) It does not contain any content. (D) None of the above.





No comments:

Post a Comment