Primers 2001
Primers 2001
onclusion or going on to the next step of processing. Which of the following suits the given
description?
- Conditional statement
2. Tom was working on the REST Application for ABC Consultancy. The client requested for a
few changes in navigation. Tom worked with his team and implemented them. Later the client
felt the old pattern was better than the new one. So Tom should revert back to the previous
code. Which concept of Software configuration management will help to do this work easily?
- Version control
3. Which statement plays a major role in switch-case statements for indicating the end of a
particular case?
- Break
<!DOCTYPE html>
<html>
<body>
<p id="show"></p>
<script>
var num;
Num = 1000;
document.getElementById("show").innerHTML = "My Number: " + num;
</script>
</body>
</html>
- My Number: undefined
5. In a generative AI model, what does the term "latent space" refer to?
- The high dimensional feature space
6. Generative AI can be used to predict future fashion trends based on historical data.
- True
11. State True or False. The primary key does allow null values, whereas the unique key
doesn't accept null values.
- False
12. Consider the following table created with the mentioned columns:
The manager does not want a customer whose Credit Limit is less than 2,000. However, he
forgot to include a limitation in the table when he created it. Help him add the limitation to
the table he created.
- ALTER TABLE Customer ADD CONSTRAINT Check_Credit_Limit CHECK (Credit_Limit >=
2000)
15. Which AWS service is designed for data warehousing and business intelligence
applications, allowing you to analyze large datasets?
- Amazon Redshift
16. When using AWS Lambda, what is the maximum execution time allowed for a single
invocation of a function?
- 15 minutes
-------------------------------------------------------------------------
1.
class Main {
public static void main(String[] args) {
int num = 9;
switch (num){
default :
System.out.println("This is default");
case 0 :
System.out.println("This is zero");
break;
case 1 :
System.out.println("This is one");
case 2 :
System.out.println("This is Two");
}
}
}
}
-----------------------------------------------------------------------
Java Programming
1)Is Java an object-oriented language? (Answer: True)
2) How are arrays indexed in Java? -The index is an integer, and its
value is between [0, length of the Array - 1].
3) How does Java handle searching and sorting algorithms?
Relational Databases
1) What is the full form of RDBMS? (Answer: Relational Database
Management System)
2) What does a SELECT statement do in SQL?- returns a result set
of rows, from
⸻⸻⸻⸻⸻⸺