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