Javascript Question

What is the result of !( '5' == 5 )?
true
false
 
null
What is the difference between == and === operators in JavaScript?
== compares only values while === compares both values and types
== compares both values and types while === compares only values
Both operators are identical
None of the above.
Which one is not a Property of $.Ajax()
success
Complete
Fail
beforeSend
In html, there is a ul element with multiple li elements, Which one is correct to apply red color on 3rd li ?
$('ul child:3 li').css("color", "red");
$('ul li:3').css("color", "red");
$('ul').find('li:3').css("color", "red");
$('ul li:eq(3)').css("color", "red");
var arr= [1,2,3]; 
arr[10]=4;
var arrLength=arr.length;
 
What value assign in the arrLength?
4
3
11
10
var str ="abc";
console.log(str.indexOf('B'))
What value print in the console?
0
-1
2
1
If "Product" table contain 100 rows? then which EntityFramwork Query throw error?
_db.Product.Single();
_db.Product.First();
_db.Product.Take(1000);
_db.Product.Skip(1000);
In C# which statement is not correct?
ReadOnly is a compile constant.
ReadOnly cannot be declared inside the method.
Const can be declared inside the method.
The value of Readonly field can be changed.
In C# which statement is not correct?
Abstract class can not have constructor
Abstract methods can not be private
Abstract class can have static methods
Abstract class cannot be a sealed
In C# which statement is not correct?
app.Use may call next middleware component in the pipeline
app.Run will never call subsequent middleware
Both are correct
Both are not correct
In C# which code statement throw error?
"12-3-5-3-10000".IndexOf("SD");
"12-3-5-3-10000".Split("-");
"12-3-5-3-10000".Replace("-","NULL")
"12-3-5-3-10000".Contains("NULL")
    [Route("{type}/{library}/{version}/{file?}/{renew?}")]
    public ActionResult Index2(EFileType type,
                              string library,
                              string version,
                              string file = null,
                              ECacheType renew = ECacheType.cache)
    {
        return View("Index");
    }

Which URL will not hit this Action Method?
http://localhost:52392/2/lib1/ver1/file1/1
http://localhost:52392/2/lib1/ver1/file1/1/
http://localhost:52392/2/lib1/ver1/file1/1/
All URL hit the Action Method
public async Task PerformMultipleOperationsAsync()
{
var tasks = new Task[]
{
Operation1Async(), // Take 2 seconds
Operation2Async(), // Take 2 seconds
Operation3Async(), // Take 2 seconds
};
try
{
await Task.WhenAll(tasks);
}
catch (AggregateException ae)
{

}
}
 
What will be the execution time of method "PerformMultipleOperationsAsync"?
6 Seconds
4 Seconds
2 Seconds
Error
In MSSQL Database which one is not a valid clauses?
LIMIT
NOLOCK
Fetch
OPENJSON
In MSSQL server Which query returns records from the "Product" table where "Name" column contains Null value?
Select * From Product Where Name = NULL
Select * From Product Where Name Is NULL
Select * From Product Where ISNull(Name,'') = NuLL
Select * From Product Where Name =''
In MSSQL which statement is not correct?
The DELETE command is used to delete particular records from a table.
The TRUNCATE command is used to delete the complete data from the table.
Delete is a DDL command.
TRUNCATE does not activate the triggers applied on the table.
In SQL management studio, for a Query which Tool help us to create indexes on tables
Database Engine Tuning Adviser
SQL Profiler
SQL Query Editor
Customize
{"name":"Javascript Question", "url":"https://www.quiz-maker.com/QPCN5QTVW","txt":"What is the result of !( '5' == 5 )?, What is the difference between == and === operators in JavaScript?, Which one is not a Property of $.Ajax()","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}