0% found this document useful (0 votes)
49 views

Questions Sep Batch

Uploaded by

raguljayam3
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
49 views

Questions Sep Batch

Uploaded by

raguljayam3
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

Java Questions Sep Batch

1.In which software development model the programmer and


tester works parellal?
A.Agile
2.Finding the location of the element with a given value is __?
A.Searching
3.Javscript lets you to execute code when events are detected.(T/F)
A.True
4.Which of the following is not a characterestics of Variationals
Autoencoders?
A. Since the options for this question aren't provided, I'll list some
common characteristics of VAEs:
➢ VAEs are generative models.
➢ They learn a probabilistic mapping from input data to a latent
space.
➢ oThey use a loss function that combines reconstruction loss and
KL divergence.
➢ A characteristic that is not associated with VAEs might be
something like "They are primarily used for classification tasks"
(which VAEs are not typically used for).
5.What will be the o/p of this code for calculating area of square.
<!DOCTYPE html>
<html>
<body>
<h2>JavaSCript Function</h2>
<p id=””demo””></p>
<script>
Document.getElementById(“”demo””).innerHTML =
“”The Area of square is””+areaSquare(786);
Function areaSquare(radius){
Return (radius*radius);
}
</script>
</body>
</html>
A. The Area of square is 617796
6.How is generative AI used in film production?
A. Generative AI in film production is used for various purposes such
as creating realistic visual effects, generating script ideas or dialogue,
designing characters and environments, and even producing entire
scenes or animations. It can help automate repetitive tasks, assist in
storyboarding, and enhance creative processes by providing novel
ideas and solutions.
7.What is the primer scope of DevSecOps?
A. The primary scope of DevSecOps is to integrate security practices
into the DevOps process. It involves embedding security measures
throughout the software development lifecycle, from planning and
development to deployment and monitoring. The goal is to ensure
that security is a continuous and integral part of the development
process, rather than an afterthought

8.What is the purpose of Continuos Deployment in the DevOps


lifecycle?
A. The purpose of Continuous Deployment is to automate the release
of software updates to production environments as soon as they pass
automated testing. This practice allows for more frequent and
reliable releases, reduces the time between writing code and
deploying it, and ensures that new features, improvements, and fixes
are delivered to users quickly and consistently.
9.Which one of this method of String is used to obtain character at
specified index?
A. ‘charAt(int index)’
10.Java is an object-oriented computer-programming language?
A.True but not 100%
11.SELECT FROM dept WHERE dept_id=961;The above delete
statement throws an because a child record was found.What could
we do to make the statement execute?
A.
12.Consider the tale structure:
Customer(cid,cname,caddress)
What is the command to fetch customer id and customer name in
the alphabetic order.
A.SELECT cid, cname
FROM Customer
ORDER BY cname;
13. What will be the output of the below code?

Startprogram
class TestRun {

public static void main(String args[]) (

long i=9;

switch (i)

default: System.out.println("default");
• case 0: System.out.println("zero");

break;

case 1: System.out.println(“one”);

case 2: System.out.println(“two");
}
}
}
endprogram
14. Which one of the following is the correct output of the code
given below
Startprogram:
public class Test {
public static void main(String[] args) {
int n,temp = 0;
• int[] num_ar = new int[]{49,56,23,16,9,34);
• int[] temp_ar = new int[num_ar.length);
for(int i=0;i<num_ar.length ;i++){
temp_ar[i] = num_ar[i];
}
for(int i=0;i<num_ar.length;i++){
for(int j=0;j<num_ar.length;j++){
if(temp_ar[i]<temp_ar[j]){
temp = temp_ar[i];
temp_ar[i] = temp_ar[j];
temp_ar[j] = temp;
}
}
}
for(int i=0;i<num_ar.length;i++){
for(int j=0;j<num_ar.length;j++){
if(temp_ar[i]==num_ar[j]){
System.out.print(j);
A. 4 3 2 5 0 1
------------------------*---------------------------------------*---------
1. In many situations, it would be necessary to make a decision
before arriving at a conclusion 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
4. Observe the given code snippet and predict the output.
<!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
7. What is the key principle of Continuous Integration (CI) in
DevOps?
- Frequently integrating code changes into a shared repository
8. State True or False. The primary key does allow null values,
whereas the unique key doesn't accept null values.
- False
9. Consider the following table created with the mentioned
columns:
Customer(Customer_Id,
Customer_First_Name,
Customer_Last_Name, City, Email,
Phone_Number, Credit_Limit)
Order(Order_Id, Customer_Id,
Total_Amount, Order_Date)
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)
10. Choose the best option:
SELECT o.order_id, item, country
FROM orders o, customers c
WHERE o.order_id BETWEEN 2 AND 4 AND age < 25;
- SELECT o.order_id, item, country FROM orders o JOIN customers
c ON o.customer_id = c.customer_id WHERE o.order_id BETWEEN 2
AND 4 AND age < 25;

11. Which AWS service provides a fully managed NoSQL database?


- Amazon DynamoDB

12. Which AWS service is designed for data warehousing and


business intelligence applications, allowing you to analyze large
datasets?
- Amazon Redshift

13. When using AWS Lambda, what is the maximum execution time
allowed for a single invocation of a function?
- 15 minutes
14. MySQL Query result will display in what format?
- Row & column
15. AWS EC2 is a compute service.
- True
16. What is the primary goal of devops in software development?
- Improving communication and collaboration between
development
-------------------------------------------------------------------------
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");
}
}}
2.Java is object oriented programming? True or false
predict ouput for Java codes?

3.What is innovation in styleGAN compared to traditional GAN

-----------------------------------------------------------------------

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 one or more tables
3) How do you count the number of records in a table? (Answer:
SELECT count(*) FROM <table_name>)
4) How does MySQL display results?-MySQL displays query output in
a tabular format with rows and columns.
General Questions :
1.What are transformers used for in natural language processing
(NLP)?
2.What is the purpose of generative AI in gaming? (Example: CGI
characters)
3.What is a virtual server? (Answer: EC2 instance)
4.Does CSS and XPath work with jQuery? - yes
Web Development :
1.Is JavaScript used for front-end web technologies? (Answer: True)s
2.How are arrays stored in JavaScript? (Answer: Both sequentially
and randomly)
3.What happens when you declare a variable with a certain value in
JavaScript? (Context: Given the original code snippet.)

You might also like