Common Jobs
Referral Channel test
1 / 58
 The commands ________ and ___ are included in the Data Control Language (DCL).
2 / 58
What will be the output of the following code snippet?
void solve() {
   deque<int> dq;
   for(int i = 1; i <= 5; i++) {
       if(i % 2 == 0) {
           dq.push_back(i);
       }
       else {
           dq.push_front(i);
   }
   for(auto x: dq) {
       cout << x << " ";
   cout << endl;
}
3 / 58
What will the "datatype" stated in brackets in the code line below be called?
4 / 58
.What happens if an ENUM list has no values added to it?
5 / 58
A queue follows _________:
6 / 58
 What is returned by INSTR ('JAVAT POINT', 'P')?
7 / 58
Select the appropriate SQL functions that are run on a database.
8 / 58
Select the appropriate SQL AS clause purpose.
9 / 58
For the provided JavaScript code, which of the following is the right output?
var count =0;Â Â
while (count <10)Â Â
{Â Â
     console.log(count); Â
var obj= Â
    length:20, Â
    height:35, Â
}Â Â
if('breadth' in obj === false)Â Â Â
    obj.breadth = 12; Â
  Â
console.log(obj.breadth);Â Â
     count++; Â
10 / 58
Which of the following are TCL commands?
11 / 58
_________ is not a command in the DDL.
12 / 58
var name = "John";
function sayName() {
  console.log(name);
  var name = "Jane";
sayName();
13 / 58
Which of the following is the disadvantage of the array?
14 / 58
What happens if we combine the "reverse()" function with the "join()" method?
15 / 58
16 / 58
In JavaScript, how do you translate the string "123" to a number?Â
17 / 58
Which operator checks a column for missing data?
18 / 58
var num = 10;
function increment() {
  num++;
increment();
console.log(num);
19 / 58
.An algorithm design method is used when the solution to a problem can be viewed as the result of a sequence of decisions
20 / 58
var arr = [1, 2, 3, 4, 5];
var slicedArr = arr.slice(1, 4);
console.log(slicedArr);
21 / 58
var x = 5;
console.log(x + "5");
22 / 58
Which is the subset of SQL commands used to manipulate Oracle Database structures, including tables?
23 / 58
Which statement removes every row from a table without logging the operation
24 / 58
.Which of the following JavaScript code's output options can be regarded as the proper one?
const obj1 =Â Â
    a:10, Â
    b:15, Â
    c:18 Â
};Â Â
const obj2 =Object.assign({c:7, d:1}, obj1);Â Â
console.log(obj2.c, obj2.d);Â Â
25 / 58
In C++ language, the maps implemented use which kind of a data structure?Â
26 / 58
What is the maximum number of swaps that can be performed in the Selection Sort algorithm?
27 / 58
Which group functions don't take NULL values into account?
28 / 58
What is the output of the following code snippet?
   stack<int> s;
   s.push(1);
   s.push(2);
   s.push(3);
   for(int i = 1; i <= 3; i++) {
       cout << s.top() << “ “;
       s.pop();
29 / 58
Which one isn’t the property of the XOR lists?
30 / 58
.Which datatype can store unstructured data in a column?
31 / 58
Why is feature scaling important in machine learning?
32 / 58
   int a[] = {1, 2, 3, 4, 5};
   int sum = 0;
   for(int i = 0; i < 5; i++) {
           sum += a[i];
   cout << sum << endl;
33 / 58
 Which of the following is the correct way of declaring an array?
34 / 58
 Who is credited with creating artificial intelligence?
35 / 58
var numbers = [1, 2, 3, 4, 5];
var squaredNumbers = numbers.map(function (num) {
  return num * num;
});
console.log(squaredNumbers);
36 / 58
What is the time complexity of the following code snippet in C++?
   string s = "scaler";
   int n = s.size();
   for(int i = 0; i < n; i++) {
       s = s + s[i];
   cout << s << endl;
37 / 58
In an AA-tree, we can remove a left horizontal link by:
38 / 58
console.log(2 + 3 + "5");
39 / 58
Adding classes has the connotation that ___________.
40 / 58
 What purpose does SQL's MIN function serve?
41 / 58
What can be the relation between sparsity and density in a matrix?
42 / 58
.What will be the correct output of the following JavaScript code
<p id="demo"></p>Â Â
<script>Â Â
functionFunct()Â Â
document.getElementById("demo").innerHTML=Math.atan2(8,4);Â Â
</script>Â Â
43 / 58
Which of the following statements is true?
44 / 58
Which SQL command is used to select each group of duplicable rows in only one copy?
45 / 58
CRUD is the acronym for
46 / 58
Which of these will form an inversion in this given array?
arr = {2,8,5,3}
47 / 58
What will the output of the following code snippet?
           sum += *(a + i);
           sum -= *(a + i);
48 / 58
Which of the following is the advantage of the array data structure?
49 / 58
Why is the computer language JavaScript said to be structured?
50 / 58
Which SQL command is used to extract data out of the following?
51 / 58
 The prefix form of ((a/b)+c)-(d+(e*f)) is?
52 / 58
.SELECT operation in SQL is equivalent to
53 / 58
function outer() {
  function inner() {
    console.log(x);
  }
  var x = 10;
  return inner;
var closureFunction = outer();
closureFunction();
54 / 58
What function does the "debugger" statement serve?
55 / 58
What will happen if the following JavaScript code is executed?
56 / 58
What is the time complexity for checking if an undirected graph with E edges and V vertices is Bipartite, given its adjacency matrix?
57 / 58
Which of the following sorting algorithms can be used to sort a random linked list with minimum time complexity?
58 / 58
Which data structure do we use for testing a palindrome?
Your score is
The average score is 52%
Restart quiz