Total Marks: 100 Time: 3 Hours
- HTML5 introduces a number of new input type values for the type attribute of the
________tag. - The
________attribute of<img>tag gives information about the image, so even if the image does not download, it can make the viewers understand the image-related information. - PHP is a widely-used open source
________-side scripting language. - IOT stands for
________of Things. ________is the fifth generation of cellular network technology.- An
________is a special variable in PHP, which can hold more than one value at a time. - The
________object in JavaScript represents an open window in a browser. ________is a built-in multiway decision statement in JavaScript.- The
________tag defines an ordered list. - SEO stands for Search Engine
________. ________is an online program or software that helps users to search for information on the World Wide Web.- The
________property in CSS defines how the components (div, hyperlink, heading, etc.) are going to be placed on the web page. ________statement is used to jump out of a loop in JavaScript.________cloud environments combine both Public and Private cloud elements.- A
________is a small text file that the server sends on the user's computer.
- The
<audio>tag is used to embed video into your web page. - JavaScript is a case-sensitive language.
- Shared hosting is the most expensive way to publish your website.
- In a public cloud, all the services and supporting infrastructure are managed off-site over the internet and shared across multiple users.
- The
$_GETsuperglobal in PHP is an array of variables passed via the HTTP POST method. - White Hat SEO techniques are the strategies that search engines recommend as a part of good design.
- A multilevel list cannot be created in HTML5.
- Artificial Intelligence (AI) is different from robotics, but related to some extent.
- A function name in PHP can start with a number.
- The
<iframe>element creates an inline frame.
-
Which attribute specifies that an input field should be disabled? a)
maxb)minc)disabledd)pattern -
Which of the following is NOT a valid type of CSS implementation? a) Inline CSS b) Embedded stylesheet c) External CSS d) Nested CSS
-
The
________selector selects theidattribute of an HTML element to select a specific element. a) Class b) Id c) Universal d) Group -
Which SEO technique involves using invisible text and stuffed keywords? a) White Hat SEO b) Black Hat SEO c) Red Hat SEO d) Blue Hat SEO
-
Which CSS property allows you to control the size of the font? a)
font-weightb)font-stylec)font-sized)text-align -
What does DOM stand for in JavaScript? a) Data Object Model b) Document Object Model c) Document Oriented Model d) Data Oriented Model
-
The
innerHTMLproperty in JavaScript is used to: a) Get html element and change its content b) Create a new window c) Close the window d) Jump out of a loop -
Which built-in Math object method returns the absolute value of a number in JavaScript? a)
abs(x)b)cbrt(x)c)ceil(x)d)floor(x) -
Which cloud service model gives users access to storage, networking, servers, and other computing resources via the cloud? a) PaaS b) SaaS c) IaaS d) DaaS
-
Which sub-field of AI employs pattern recognition and deep learning to understand the content of pictures and videos? a) Machine learning b) Natural language processing c) Computer vision d) Neural networks
-
Which PHP function returns the length of a string? a)
str_word_count()b)strlen()c)strrev()d)strpos() -
Which variable scope in PHP refers to a variable declared inside a function? a) local b) global c) static d) external
-
Which of the following tags is used to define a client-side image map? a)
<map>b)<form>c)<video>d)<table> -
Which PHP keyword is used to declare a local variable that should not be deleted after the function is executed? a)
globalb)staticc)locald)constant -
What does the
robots.txtfile do in SEO? a) Boosts page ranking directly b) Tells search engines which pages to exclude from indexing c) Connects to social media platforms d) Creates backlinks automatically
-
Valid two methods of Date object in JavaScript are ________ and ________. a)
setTime()b)getValidTime()c)getTime()d)setValidTime()e)showTime() -
Which of the following are commonly used looping structures in JavaScript? a) for loop b) switch loop c) while loop d) if loop e) break loop
-
Which two tags are used for creating a client-side image map in HTML5? a)
<img>b)<usemap>c)<map>d)<area>e)<hotspot> -
Which of the following are valid variable scopes in PHP? a) local b) universal c) global d) external e) standard
-
Which of the following are types of Cloud Computing deployment models? a) Public cloud b) PaaS cloud c) Private cloud d) SaaS cloud e) IaaS cloud
-
In PHP, three types of arrays are ________, ________, and ________. a) Indexed arrays b) Simple arrays c) Associative arrays d) Multi-dimensional arrays e) Complex arrays f) General arrays
-
Which three attributes are used with the
<audio>tag in HTML5? a)autoplayb)hrefc)controlsd)cntrle)loopf)bgsound -
Which three statements represent valid features of JavaScript? a) It is an object-oriented scripting language. b) It is a heavy-weight scripting language. c) It is a case-sensitive language. d) It is a platform-dependent language. e) It can handle date and time very effectively. f) It requires special software to run.
-
Which three of the following are SEO-related techniques or strategies? a) On-Page SEO b) Black Hat SEO c) Inline CSS d) White Hat SEO e) PaaS f) Image Mapping
Question 6.1 (5 Marks)
| Column A | Column B |
|---|---|
1. <input type="url"> |
a) Describes some aspects of contents of a webpage |
2. <input type="color"> |
b) Defines a field for entering a URL |
3. placeholder |
c) Specifies that an input field is required |
4. <meta> |
d) Defines a color picker |
5. <iframe> |
e) Acts as a temporary label showing the purpose of a text field |
| f) Creates an inline frame | |
| g) Defines a submit button |
Question 6.2 (5 Marks)
| Column A | Column B |
|---|---|
1. Math.abs(x) |
a) Represents the zero-based index of the match in the string |
2. Math.ceil(x) |
b) Returns the absolute value of a number |
3. Math.sqrt(x) |
c) Returns the square root of a number |
4. length property |
d) Returns the base to the exponent power |
5. index property |
e) Returns the number of characters in a string |
| f) Joins two or more arrays | |
| g) Returns the next integer greater than or equal to a given number |
- Briefly explain the difference between Server-side scripting and Client-side scripting. (4 Marks)
- Explain any four types of positioning in CSS. (4 Marks)
- What is Cloud Computing? State any two of its service models. (4 Marks)
- Differentiate between GET and POST methods in PHP. (4 Marks)
- Define SEO. Briefly explain the difference between On-Page SEO and Off-Page SEO. (4 Marks)
- Write an HTML5 code using CSS to create an ordered list with the names of three tourist cities and a nested unordered list with the tourist places of those cities. Divide the list into two sections left and right by using CSS. (4 Marks)
- Write an event-driven JavaScript program to take a number as user input (using an HTML form) and check whether the given number is a prime number or not. Display the output using an alert box. (4 Marks)
Answer Key and Source Mapping
<input><input>elements)alt<ol><video>Tag is for video)$_GETis passed via URL parameters)disabledfont-sizeabs(x)strlen()<map>staticsetTime(), c)getTime()<map>, d)<area>autoplay, c)controls, e)loop<audio>tag)<input>elements)<input>elements)<meta>tag)float: leftandfloat: right,<ol>for cities, nested<ul>for places)<input>, JSfunction(),parseInt(),forloop to checka%i==0,alertoutput)