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

Prime Aug 27

Uploaded by

magantirajesh0
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)
7 views

Prime Aug 27

Uploaded by

magantirajesh0
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/ 24

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.

```html

<!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. Identify the style that the Python paragraph comment uses.

- ‘’’ comments ‘’’

9. What is the output when the following code is executed?

```python

startprogram

st = "helloworld"

print(st[0::])

endprogram

```

- helloworld

10. What does the following regular expression pattern match in Python?

```python

pattern = "\d{3}-\d{2}-\d{4}"

```

- A string in the format of xxx-xx-xxxx, where x is a digit

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:
```sql

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)

13. Choose the best option:

```sql

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;

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

- Amazon DynamoDB

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

17. MySQL Query result will display in what format?

- Row & column


18. AWS EC2 is a compute service.

- True

19. What is the primary goal of devops in software development?

- Improving communication and collaboration between development….

20. Is Python Open Source?

- True

You might also like