Page 317 - IT-802_class_12
P. 317
15. How is a variable related to the computer’s memory or storage?
Ans. A variable is a container which stores the value in the computer memory.
16. How do you concatenate strings?
Ans. The ampersand (&) is used to concatenate strings.
17. What are Logical operators? Name them?
Ans. A logical operator is used to check whether an expression results in true or false. There are three types of logical
operators AND, OR and NOT.
18. What is the difference between While loop and Do while loop?
Ans. A while loop is an entry-controlled loop whereas a do-while loop is an exit-controlled loop.
19. What is an Exception in Java?
Ans. An error that is unexpected in the program execution and causes it to terminate unexpectedly is called an exception.
20. Why do we require Wrapper classes?
Ans. These classes wrap the primitive datatype into an object of that class.
21. How can threads be created in Java?
Ans. Threads can be created in two ways
By extending the Thread class
By implementing the Runnable interface
22. What do you mean by a web based application?
Ans. A web-based application is one that can be accessed through a web browser through a network connection.
23. How does Online reservation system enable price comparison?
Ans. In today’s competitive world, one service may be provided by multiple providers which allow the customer to
check prices, compare them, and get the best deal.
24. Name some precautions which should be taken while performing online transactions.
Ans. The most common method of user identification and authentication is the combination of username and password.
25. How did e-Governance begin in India?
Ans. The main thrust for e-Governance in India was provided by the 1987 launch of NICNET, the national
satellite-based computer network.
26. Name some e-Governance sites of India.
Ans. Some of the key e-governance sites in India are as follows:
India.gov.in (National Portal of India)
igod.gov.in (Government of India Web Directory).
27. Give some advantages of Online Shopping.
Ans. Online shopping is useful in many situations. Here, we have discussed some of the situations:
The customer does not have enough time to go to a store and buy items.
The store where you will get what you need could be quite far away.
28. How are the payments done during Online shopping?
Ans. The customer can choose the items they want to buy and add them to their online shopping cart. The goods
must be paid for with a debit or credit card. The goods are then delivered to the customer’s specified address.
29. How can database applications be utilized in the field of Banking?
Ans. For keeping track of consumer data. For instance, Customer personal information like residence, age, gender,
PAN card, occupation, and contact information will be collected.
30. Why is SQL used in database?
Ans. SQL is used to manipulate data in the database.
Viva Voce Questions 315

