Font size
WorksheetsFSWD Ajax React PHP Jquery
Total questions: 66
Worksheet time: 38mins
What's the name of the syntax we use to describe the UI in React components?
FBJ
Babel
JSX
ES2015
Non-technical person can create / manageCost effectiveUser-friendliness
Search index
Super Administrator
Why use a cms
3rd party search engines
What You See Is What You Get- Allows users to edit content without knowing HTML / CSS- Users don't need to know HTML / CSS
Assets
Search
Site Manager
WYSIWYG
Which open source platform helps to generate quiz?
Kahoot
Quizlet
quizizz
All of Above
Tags and text that are not directly displayed on the page are written in _____ section.
<html>
<head>
<title>
<body>
A webpage displays a picture. What tag was used to display that picture?
picture
image
img
src
What is the correct HTML for making a hyperlink?
<a href=”http:// mcqsets.com“>Web Design Quiz</a>
<a name=”https://mcqsets.com“>Web Design Quiz</a>
<https://mcqsets.com</a>
url=”https://mcqsets.com“>Web Design Quiz
Choose the correct HTML tag for the smallest size heading?
<heading>
<h6>
<h1>
<head>
Which tag creates a check box for a form in HTML?
<checkbox>
<input type="checkbox">
<input=checkbox>
<input checkbox>
Which of the following HTML code is valid?
<font colour="red">
<font color="red">
<red><font>
All of above are style tags
Marquee is a tag in HTML to
mark the list of items to maintain in queue
Mark the text so that it is hidden in browser
Display text with scrolling effect
None of above
AJAX can update webpage without _______ the page
reloading
scrolling
closing
clicking
A programming language of the web
JQuery
JavaScript
Java
HTML
PHP stands for
Pre Hypertext Processor
Philippine Health Product
Hypertext Preprocessor
Hypertext Processor
Some predefined variables in PHP are _________, which means that they are always accessible, regardless of scope
Superglobals
Variables
Globals
Locals
AJAX is not a programming language
True
False
The purpose of _____ is to make it much easier to use JavaScript on your website.
jQuery
HTML
AJAX
CSS
INSERT ____ tbl_students (id, username, password) VALUES (1, "user", "user123");
INTO
TO
FROM
SET
Which attribute specifies a unique alphanumeric identifier to be associated with an element?
class
id
article
html
In Java Script, which built-in method combines the text of two strings and returns a new string?
append()
concat()
attach()
None of the these
In java script ,which of the following function of Array object removes the last element from an array and returns that element?
pop()
push()
join()
map()
In Java Script,which of the following function of String object extracts a section of a string and returns a new string?
slice()
split()
replace()
search()
Which of the following Attribute is used to include External JS code inside your HTML Document?
src
ext
script
link
What will be the output of the following JavaScript code?
function compare()
{
int a=1;
char b=1;
if(a.tostring()===b)
return true;
else
return false;
}
true
false
runtime error
logical error
JavaScript is a _______________ language.
Object-Oriented
High-level
Assembly-language
Object-Based
XML stands for?
Extensible Markup Language
Extended Mashup Language
Extensible Mashup Language
X-Markup Language
Find the correct syntax of the declaration which defines the XML Version?
< ?xml version= "1.0" ? >
< xml version="1.0"/ >
< ?xml version="1.0" / >
None of the above
Which of the following is true ?
1.AJAX is a platform-independent technology
2. AJAX can work with web application
3. AJAX can only work with ASP.NET
4. AJAX is a platform-dependent technology
1, 2
1, 2,3
1,3,4
None of the above
A PHP program will display the name of the month when entering a number between 1 and 12 in the input form. The use of the right branching is ...
IF
IF ... ELSE
IF - IF .. ELSE - ELSE
SWITCH
From the following program, the final score displayed is…
9
10
90
100
PHP is a server-side programming, where the code will be executed on the server side. The following which one can act as a server on a local computer ...
XAMPP
HTDOCS
APACHE
MYSQL
Which is the wrong way to write variables in PHP?
$name
$_address
$1student
$school?
Write the output of the following PHP program.
The function in JQuery that is used to ensure all the desired elements are displayed on the web page is ...
document.ready()
document.complete()
document.all()
document.display()
The functions provided by JQuery to hide elements are ...
fadeOut
fadeIn
fadeToggle
fadeSlow
What is the full form of AJAX ?
a) Asynchronous Javascript and XML
b) Another Java and XML Library
c) Abstract JSON and XML
d) None of the mentioned
Which of the following technology is not used by Ajax?
a) JavaScript
b) Document Object Model
c) XMLHttpRequest
d) Flash
Which of the following is a benefit of using a web service?
a) Web services allows you to expose the functionality of your existing code over the network. Once it is exposed on the network, other application can use the functionality of your program.
b) Web services allow various applications to talk to each other and share data and services among themselves.
c) Web services use standardized industry standard protocol for the communication.
d) All of the above.
Which of the following HTTP Status code means NOT FOUND, states that method is not available?
400
401
404
409
Is this a "well formed" XML document?
<?xml version="1.0"?>
<note>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>
Yes
No
A schema describes
(i) grammar of a programming language
(ii) vocabulary of text
(iii) structure of a document
(iv) datatype of XML document
(i) & (ii) are correct
(i),(iii) ,(iv) are correct
(i),(ii),(iv) are correct
(ii),(iii),(iv) are correct
(i),(ii),(iii),(iv) are correct
What is an XML instance?
XML attribute
XML document
XML element
XML namespace
This is used to format the layout of Web pages. This can be used to define text styles, table sizes, and other aspects of Web pages.
HTML
CSS
DNS
SCM
This is an organized collection of data, generally stored and accessed electronically from a computer system.
Bucket Storage
Virtual machine
Serverless functions
Databases
Which of the following is known as Social Web?
Web 1.0
Web 2.0
Web 3.0
Web 4.0
Which of the following statements about JavaScript DOM (Document Object Model) is correct?
The DOM provides a hierarchical representation of the HTML document, allowing JavaScript to manipulate its structure, content, and style dynamically.
The DOM only supports manipulation of text content within HTML elements; it cannot alter the structure or style of the document.
JavaScript can directly modify the HTML file on the server-side using DOM without needing client-side interaction.
DOM manipulation is limited to static web pages and cannot be used to create dynamic web applications.
Which of the following statements about AJAX (Asynchronous JavaScript and XML) is correct?
AJAX is a programming language used for server-side scripting in web development.
AJAX allows web pages to be refreshed or reloaded completely when new data is requested.
AJAX requests are always synchronous, meaning the browser waits for the response before continuing to execute other scripts.
AJAX enables asynchronous communication between a web browser and a server, allowing parts of a web page to be updated without a full page reload.
Which of the following statements about PHP sessions is MOST ACCURATE?
Sessions are a client-side mechanism for storing user information using cookies.
Sessions are a server-side mechanism for storing user information across multiple page requests.
Sessions automatically expire after a set period of inactivity, requiring users to re-login.
Sessions require complex database interaction to store user data.
Which of the following statements correctly distinguishes between DTD and XML Schema?
DTD is more expressive and allows for more complex validation rules compared to XML Schema.
XML Schema is a legacy technology, while DTD is the modern standard for defining document structure and validation.
DTD is an XML-based language for defining the structure and constraints of XML documents, while XML Schema provides a richer set of data types and validation capabilities.
XML Schema is used exclusively for defining the structure of HTML documents, while DTD is used for XML documents.
How can you connect MySQL with PHP?
By using the mysqli_query() function in PHP.
By including the MySQL database credentials directly in the HTML code.
By using functions like mysqli_connect() or PDO extension in PHP to establish a connection to the MySQL database.
By directly embedding SQL queries within PHP code.
Which of the following statements accurately describes the purpose of the <div>, <footer>, and <header> tags in HTML?
<div> is used to define a division or section in an HTML document, <footer> represents a footer section typically placed at the bottom of a page, and <header> represents introductory content, such as headings or navigational links at the top of a page.
<div> is used to define a division or section in an HTML document, <footer> represents a section that contains copyright information and other metadata about the document, and <header> represents the main content area of the page.
<div> is used to define a division or section in an HTML document, <footer> represents a section that contains navigation links, and <header> represents a section containing contact information.
<div> is used to define a division or section in an HTML document, <footer> represents a section containing advertisements, and <header> represents the title of the page.
Which type of websites commonly use Ajax for dynamic content?
Search engines
Social media platforms
E-commerce websites
News websites
Which API is commonly used in Ajax implementations?
XMLHttpRequest
JSONRequest
HTMLRequest
CSSRequest
What is one example of Ajax usage on search engines?
Displaying search suggestions as you type
Displaying related images
Displaying news articles
Displaying product recommendations
What is one example of Ajax usage on image searches?
Loading more thumbnails as you scroll
Displaying image details
Sorting images by date
Sharing images on social media
Which of the following commands is used to create react-js-app?
npx create-react-app appname
npm install create-react-app
npx install create-react-app -g
install - l create-react-app
What is the best definition of React.js?
Server-side Framework
User-interface framework
A Library for building interaction interfaces
None of These
What's the fundamental building block of React apps?
Components
Blocks
Elements
Effects
Which hook is commonly used for managing state in functional components in React?
useEffect
useState
useContext
useRef
How do you initialize a state variable called count with an initial value of 0?
const [count, setCount] = useState(0);
const count = 0;
const count = useState(0);
const count = setState(0);
const setCount = setState(0);
