Edu
Hub
Courses
AI Tools
Leaderboard
Login/Register
AR
Abdullah Rashid
abdullah@example.com
Navigation
📚
Courses
🏆
Leaderboard
✨
AI Tools
←
jQuery & MySQL (IsDB WDPF Question)
⏱
15:00
Quit
0 / 40 answered
0%
jQuery & MySQL (IsDB WDPF Question)
10 questions · Medium difficulty · 00:40:00 min
🔥 In Progress
Question 1
Which SQL statement is used to update data in a database?
UPDATE
MODIFY
SAVE AS
SAVE
Question 2
Which jQuery method is used to hide selected elements?
display(none)
hide()
hidden()
visible(false)
Question 3
Which of the following statement would be used if you want to show the structure of the Product table in your inventory?
DISTINCT Product
STRUCTURE Product
None of the above
DESCRIBE Product
Question 4
Which of the following method can be used to get the current offset of the first matched element?
offset()
position()
outerHeight([margin])
offsetParent()
Question 5
Which SQL clause is used to restrict the rows returned by a query?
HAVING
FROM
AND
WHERE
Question 6
Which of the following selector selects all checked boxes in a form?
$('input[checked=checked]')
$(':checked')
$('checked')
$('input[checked]')
Question 7
Which of the following method retrieves the total number of rows affected by an INSERT, UPDATE, or DELETE operation?
num_rows()
None of the above
affected_rows()
Both a & b
Question 8
Which of the following method can be used to apply multiple CSS properties using a single jQuery method?
css()
style()
jQuery()
map()
Question 9
Which SQL statement is used to extract data from a database?
GET
EXTRACT
OPEN
SELECT
Question 10
Which of the following method can be used to locate all the descendant elements of a particular type?
filter(selector)
find(selector)
next(selector)
children(selector)
Question 11
How do you view all tables in MySQL?
VIEW TABLES
SHOW TABLES
SELECT TABLES
ALTER TABLES
Question 12
Which event type occurs when an element loses focus?
Change
Focus
Load
Blur
Question 13
What does the SQL GROUP BY clause do?
Filters rows based on a condition
Sorts rows in ascending order
Joins two or more tables
Groups rows that have the same values in specified columns
Question 14
Which of the following method gets the HTML contents (innerHTML) of the first matched element in jQuery?
text(val)
replaceWith(content)
html()
jQuery()
Question 15
Which command deletes both the table data and the table structure?
DROP
TRUNCATE
DELETE
REMOVE
Question 16
Which jQuery function is used to prevent code from running before the document is fully loaded?
$(document).load()
$(body).onload()
$(window).load()
$(document).ready()
Question 17
Which SQL statement is used to retrieve unique values from a column?
SELECT DIFFERENT column_name FROM table_name;
SELECT UNIQUE column_name FROM table_name;
SELECT DISTINCT column_name FROM table_name;
SELECT SINGLE column_name FROM table_name;
Question 18
Which of the following method can be used to either fetch or set the value of an attribute from the first element?
val()
attr()
html()
text(val)
Question 19
What is jQuery?
JavaScript Language
JavaScript Library
JavaScript Method
PHP Method
Question 20
Which constraint ensures that a column cannot have NULL values?
NOT NULL
PRIMARY KEY
UNIQUE
CHECK
Question 21
Which of the following method can be used to filter out elements from the set of matched elements?
filter(selector)
filter_out()
add()
select()
Question 22
What is the purpose of using the .bind() method in jQuery?
To filter out all elements from the matched set
To reduce the matched set to a single element
To apply CSS properties using jQuery
To attach standard JavaScript events to elements
Question 23
How do you convert ISAM tables to MyISAM tables?
MODIFY TABLE table_name TYPE=MYISAM;
ADD TABLE table_name TYPE=MYISAM;
ALTER TABLE table_name TYPE=MYISAM;
CHANGE TABLE table_name TYPE=MYISAM;
Question 24
Which of the following selector is used to select only form elements?
$('input')
$(':input')
$('input[type=*]')
$('form')
Question 25
Which method removes all matched elements from the DOM?
remove(expr)
removeAll(selector)
remove()
empty()
Question 26
Which command is used to remove an existing table or database?
DROP TABLE
Either DROP TABLE or DELETE
None of the above
DELETE
Question 27
Which jQuery utility function parses the returned JSON string?
parseJSON()
getJSON()
get()
getScript()
Question 28
Which utilities are used to export data from a MySQL server?
mysqlhotcopy
mysqldump
mysqlshow
A & C
Question 29
Which jQuery function is used to set the plain text contents of all matched elements?
$(selector).html(val)
$(selector).add(val)
$(selector).wrap(val)
$(selector).text(val)
Question 30
Which of the following method can be used to replace an element?
change()
replaceWith(content)
replace()
replaceAll()
Question 31
How can we get a set of elements containing the unique next siblings?
next([selector])
find(selector)
children([selector])
nextAll(selector)
Question 32
What do you mean by sanitizing input?
How to perform file system operations
None of the above
Preventing users from passing harmful data
How to interact with data files
Question 33
Which file is responsible for configuring MySQL on the Windows platform?
my.cnf
mysql.ini
php.ini
my.ini
Question 34
Which of the following method can be used to remove event handlers?
empty()
remove()
delete()
die()
Question 35
Which SQL statement is used to process the rows in a cursor?
FETCH
READ
None of the above
GET
Question 36
Which of the following method can be used to wrap the inner child contents of each matched DOM element?
wrapInner(html)
wrapAll(html)
wrap(html)
wrapInner(elem)
Question 37
Which command should be used to connect as the anonymous user of a MySQL server running on localhost?
mysql -u
mysql
mysql -u anon
mysql -u anonymous
Question 38
Which symbol always starts a jQuery statement?
Parentheses ()
Equal sign =
Plus sign +
Dollar sign and parentheses $()
Question 39
How can we bind multiple events in jQuery?
param()
bindparam()
getbind()
bind()
Question 40
With SQL, how do you select all the columns from a table named "Persons"?
SELECT Persons
SELECT [all] FROM Persons
SELECT *. Persons
SELECT * FROM Persons
✅ Answered:
0
⬜ Unanswered:
8
📊
20%
done
Submit Answers →