Menu mobile
Home
Programming
Python Tutorial
Java Tutorial
C Tutorial
C++ Tutorial
Web Technology
HTML
CSS
Java Script
PHP
React JS
Node JS
Assignment
MS Office
HTML
CSS
Bootstrap
Java Script
JQuery
AngularJs
Project
Blog
QUIZ ON : angular - ANGULARJS INTRODUCTION
ANGULARJS INTRODUCTION
00:00:00
English
Hindi
Question No# :
01
out of 50
What is the purpose of the SQL TRIM() function?
A.
Truncates a string to a specified length
B.
Removes leading and trailing spaces from a string
C.
Extracts a substring from a string
D.
Replaces a specified substring with another substring
Question No# :
02
out of 50
Which SQL statement is used to create a primary key constraint on an existing table?
A.
ADD PRIMARY KEY
B.
CREATE PRIMARY KEY
C.
SET PRIMARY KEY
D.
PRIMARY KEY TABLE
Question No# :
03
out of 50
Who is inventor of Angular js?
एंगुलर जेएस के आविष्कारक कौन हैं?
A.
Tim Berners Lee
Tim Berners Lee
B.
Misko Hevery
Misko Hevery
C.
Bill Gates
Bill Gates
D.
None of these
None of these
Question No# :
04
out of 50
In MySQL, what does the term "Foreign Key" refer to?
A.
A key used for sorting the table
B.
A unique identifier for a record in a table
C.
A key used for encryption
D.
A column or set of columns that refers to the primary key of another table
Question No# :
05
out of 50
Which SQL function is used to return the current users login name?
A.
USER()
B.
CURRENT_USER()
C.
LOGIN_NAME()
D.
SESSION_USER()
Question No# :
06
out of 50
What is the purpose of the SQL COALESCE() function when used with multiple arguments?
A.
Returns the average value of the arguments
B.
Returns the first non-null argument
C.
Concatenates the arguments into a single string
D.
Adds up all the arguments
Question No# :
07
out of 50
Which SQL clause is used to sort the result set in descending order?
A.
ORDER BY DESC
B.
SORT DESC
C.
DESCENDING
D.
REVERSE ORDER
Question No# :
08
out of 50
In MySQL, what is the purpose of the SQL LOCK TABLES statement?
A.
To lock a specific row in a table
B.
To prevent other sessions from accessing a table for a specific purpose
C.
To modify the structure of a table
D.
To unlock a table for other sessions
Question No# :
09
out of 50
Which SQL statement is used to change the data type of a column in a table?
A.
ALTER TABLE
B.
MODIFY COLUMN
C.
CHANGE COLUMN
D.
UPDATE TABLE
Question No# :
10
out of 50
What is the purpose of the SQL POSITION() function?
A.
Returns the position of a substring in a string
B.
Retrieves the minimum value in a column
C.
Counts the number of rows in a result set
D.
Concatenates rows into a single string based on a specified condition
Question No# :
11
out of 50
In MySQL, what does the term "Foreign Key" refer to?
A.
A key used for sorting the table
B.
A unique identifier for a record in a table
C.
A key used for encryption
D.
A column or a set of columns in a table that refers to the primary key of another table
Question No# :
12
out of 50
Which SQL function is used to convert a string to lowercase?
A.
LCASE()
B.
LOWER()
C.
CONVERT()
D.
TOLOWER()
Question No# :
13
out of 50
What is the purpose of the SQL REPEAT() function?
A.
Repeats a string a specified number of times
B.
Returns the position of a substring in a string
C.
Concatenates two or more strings
D.
Rounds a numeric value to the nearest integer
Question No# :
14
out of 50
In MySQL, what is the purpose of the SQL SHOW DATABASES statement?
A.
Displays the structure of a database
B.
Displays a list of all databases in the server
C.
Creates a new database
D.
Shows the relationships between tables
Question No# :
15
out of 50
Which SQL function is used to find the position of a substring in a string?
A.
POSITION()
B.
LOCATE()
C.
SUBSTRING_INDEX()
D.
STRPOS()
Question No# :
16
out of 50
What is the purpose of the SQL SHOW COLUMNS FROM table_name statement?
A.
Displays the structure of a table
B.
Shows the relationships between tables
C.
Lists all columns in a table
D.
Retrieves the values in a specific column
Question No# :
17
out of 50
What is the purpose of the SQL ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW in a window function?
A.
Specifies the range of rows to include in the window function from the start to the current row
B.
Specifies the range of rows to include in the window function from the current row to the end
C.
Excludes the current row from the window function
D.
Specifies the range of rows to include in the window function from the start to the end
Question No# :
18
out of 50
What does the SQL statement GRANT ALL PRIVILEGES ON *.* TO user@localhost; do?
A.
Grants the user all privileges on all databases from any host
B.
Grants the user all privileges on a specific database from any host
C.
Grants the user specific privileges on all databases from a specific host
D.
Grants the user permission to create a new database
Question No# :
19
out of 50
Which SQL statement is used to add a unique constraint to a column?
A.
ADD UNIQUE
B.
UNIQUE COLUMN
C.
SET UNIQUE
D.
CREATE UNIQUE
Question No# :
20
out of 50
In MySQL, what is the purpose of the SQL FLUSH TABLES statement?
A.
To discard all changes made in a transaction
B.
To refresh the table cache
C.
To delete all records from a table
D.
To optimize and flush the changes to disk for all tables
Question No# :
21
out of 50
Which SQL clause is used to filter the result set based on a pattern?
A.
PATTERN BY
B.
MATCHING
C.
LIKE
D.
PATTERN MATCH
Question No# :
22
out of 50
What is the purpose of the SQL CROSS JOIN?
A.
Combines rows from two or more tables based on a related column
B.
Retrieves all rows from both tables, regardless of a match
C.
Performs a join operation with a condition
D.
Creates a Cartesian product of two tables
Question No# :
23
out of 50
What is the purpose of the SQL COALESCE() function when used with multiple arguments?
A.
Returns the first non-null expression among its arguments
B.
Concatenates rows into a single string based on a specified condition
C.
Calculates the average value of numeric column values
D.
Retrieves the maximum value among the specified expressions
Question No# :
24
out of 50
What is the purpose of the SQL TRIM() function?
A.
Removes all records from a table
B.
Trims leading and trailing spaces from a string
C.
Deletes a specific column from a table
D.
Rounds a numeric value to the nearest integer
Question No# :
25
out of 50
What is the purpose of the SQL RAISE_ERROR() function?
A.
Raises an error and terminates the query
B.
Returns the highest value in a column
C.
Adds an error message to the database log
D.
Resets the error counter
Question No# :
26
out of 50
What is the purpose of the SQL NULLIF() function?
A.
Returns the first non-null expression among its arguments
B.
Compares two expressions and returns null if they are equal
C.
Converts a value to uppercase
D.
Concatenates two or more strings
Question No# :
27
out of 50
What is the purpose of the SQL TRIM() function?
A.
Removes all rows from a table
B.
Trims leading and trailing spaces from a string
C.
Deletes a specific record from a table
D.
Rounds a numeric value to the nearest integer
Question No# :
28
out of 50
Which SQL command is used to change the data type of a column in a table?
A.
ALTER TYPE
B.
MODIFY COLUMN
C.
CHANGE COLUMN
D.
ALTER TABLE
Question No# :
29
out of 50
What does the SQL statement SET FOREIGN_KEY_CHECKS = 0; do?
A.
Disables foreign key checks for the current session
B.
Sets the foreign key values to zero in the specified table
C.
Removes all foreign key constraints from the database
D.
Sets the value of a foreign key column to zero
Question No# :
30
out of 50
Which SQL clause is used to combine rows from two or more tables based on a related column?
A.
WHERE
B.
GROUP BY
C.
JOIN
D.
HAVING
Question No# :
31
out of 50
Which SQL function is used to return the square root of a numeric value?
A.
SQR()
B.
SQRT()
C.
ROOT()
D.
POWER()
Question No# :
32
out of 50
Which SQL function is used to retrieve the current users hostname and user name concatenated?
A.
CURRENT_USER()
B.
USER_NAME()
C.
SESSION_USER()
D.
SYSTEM_USER()
Question No# :
33
out of 50
What is the purpose of the SQL LAG() window function?
A.
Retrieves the previous value in a result set based on a specified order
B.
Returns the next value in a result set based on a specified order
C.
Calculates the average value for each group of rows
D.
Counts the number of rows in a result set
Question No# :
34
out of 50
What is the purpose of the SQL BINARY operator?
A.
Converts a string to uppercase
B.
Performs a case-sensitive comparison
C.
Adds two binary numbers
D.
Converts a string to lowercase
Question No# :
35
out of 50
Which SQL function is used to return the current users host name and user name?
A.
USER()
B.
CURRENT_USER()
C.
HOST_USER()
D.
SESSION_USER()
Question No# :
36
out of 50
Which of the following statement is correct for AngularJS?
AngularJS के लिए निम्नलिखित में से कौन सा कथन सही है?
A.
AngularJS is an HTML framework
AngularJS एक HTML फ्रेमवर्क है
B.
AngularJS is a Java framework
AngularJS एक जावा फ्रेमवर्क है
C.
AngularJS is a JavaScript framework
AngularJS एक जावास्क्रिप्ट फ्रेमवर्क है
D.
AngularJS is a SQL framework
AngularJS एक SQL फ्रेमवर्क है
Question No# :
37
out of 50
What is the purpose of the SQL RAND() function when used with a seed value?
A.
Generates a random number without any seed value
B.
Generates a random number based on a specified seed value
C.
Generates a random string
D.
Retrieves a random record from a table
Question No# :
38
out of 50
What is the purpose of the SQL LAST_INSERT_ID() function?
A.
Retrieves the last record in a table
B.
Returns the last ID generated by an AUTO_INCREMENT column
C.
Retrieves the last value in a column
D.
Returns the last date and time a record was modified
Question No# :
39
out of 50
What is the purpose of the SQL TRIM() function?
A.
Removes all records from a table
B.
Trims leading and trailing spaces from a string
C.
Truncates a table structure
D.
Performs mathematical operations on numeric values
Question No# :
40
out of 50
What is the purpose of the SQL IFNULL() function?
A.
Checks if a value is NULL
B.
Converts a value to uppercase
C.
Returns the first non-null expression among its arguments
D.
Calculates the average value for a column
Question No# :
41
out of 50
In MySQL, what is the purpose of the SQL EXISTS operator?
A.
Checks if a table exists in the database
B.
Tests for the existence of rows in a subquery
C.
Checks if a column exists in a table
D.
Tests for the existence of a database
Question No# :
42
out of 50
What is the purpose of the SQL GROUP_CONCAT() function?
A.
Concatenates rows into a single string based on a specified condition
B.
Groups rows based on a columns values
C.
Counts the number of rows in a result set
D.
Retrieves the minimum value in a column
Question No# :
43
out of 50
What does the SQL statement SHOW INDEX FROM table_name; do?
A.
Shows the structure of an index
B.
Displays a list of all indexes in a database
C.
Shows the indexes associated with a specific table
D.
Deletes an index from a table
Question No# :
44
out of 50
Which SQL statement is used to add a new column to an existing table?
A.
ADD COLUMN
B.
INSERT COLUMN
C.
CREATE COLUMN
D.
ALTER COLUMN
Question No# :
45
out of 50
What is the purpose of the SQL ROW_NUMBER() window function?
A.
Returns the row number of a result set
B.
Counts the total number of rows in a table
C.
Retrieves the last row in a result set
D.
Assigns a unique identifier to each row in a table
Question No# :
46
out of 50
Which SQL command is used to change the data type of a column in a table?
A.
MODIFY COLUMN
B.
CHANGE COLUMN
C.
ALTER COLUMN
D.
CONVERT COLUMN
Question No# :
47
out of 50
Which SQL statement is used to grant SELECT privileges on all tables in a database to a user?
A.
GRANT SELECT ON database.* TO user;
B.
GRANT ALL PRIVILEGES ON database.* TO user;
C.
GRANT DATABASE SELECT TO user;
D.
GRANT USER SELECT ON database.*;
Question No# :
48
out of 50
What is the purpose of the SQL SESSION_USER() function?
A.
Returns the current date and time
B.
Returns the username of the current user
C.
Counts the number of rows in a result set
D.
Retrieves the maximum value in a column
Question No# :
49
out of 50
Which SQL clause is used to define a condition for a group of rows when using the HAVING clause?
A.
WHERE
B.
GROUP
C.
FILTER
D.
CONDITION
Question No# :
50
out of 50
On which of the Architectural pattern AngularJS is based?
AngularJS किस आर्किटेक्चर पैटर्न पर आधारित है?
A.
Observer Pattern
Observer Pattern
B.
Decorator pattern
Decorator pattern
C.
MVC Architecture pattern
MVC Architecture pattern
D.
MVVM Architectural pattern
MVVM Architectural pattern
Latest Current Affairs 2025
Online Exam Quiz for One day Exam
Online Typing Test
CCC Online Test 2025
Python Programming Tutorials
Best Computer Training Institute in Prayagraj (Allahabad)
Best Java Training Institute in Prayagraj (Allahabad)
Best Python Training Institute in Prayagraj (Allahabad)
O Level Online Test in Hindi
Bank SSC Railway TET UPTET Question Bank
career counselling in allahabad
Sarkari Naukari Notification
Best Website and Software Company in Allahabad
Sarkari Exam Quiz