Professional Documents
Culture Documents
Viva 2020
Viva 2020
Section –A
C++
1
9. What is meant by function overloading?
Function overloading is a concept where a program can have two or more functions with
the same name, but each function differing in the number and data type of arguments
called signature of the function. Function overloading is an example of polymorphism.
2
16. What is a pointer? Mention advantages.
Pointer is a variable which stores the address of another variable.
Advantages:
➢ Proper utilization of memory
➢ Dynamic allocation and de allocation of memory
➢ Easy to deal with hardware components
➢ It is possible to write efficient programs.
➢ Establishes communication between program and data
17. What is the use of * and & operators with respect to pointers.
* is pointer operator.it returns the value of the variable,
& is address operator. It returns memory address of its operand.
18. Define inheritance. Mention types of inheritance.
It is the capability of one class to acquire the properties from another class.
The different types of inheritance are:
• Single Inheritance
• Multi Level Inheritance
• Multiple Inheritance
• Hierarchical Inheritance
• Hybrid Inheritance
19. List the various operations performed on arrays.
The different operations performed on arrays are
1. Traversing
2. Searching
3. Inserting
4. Deleting
5. Sorting
6. Merging
20. What is searching? Mention the types of searching.
The process of finding out the location of the data item in the given collection of data
items is called searching.
Types
➢ Linear search
➢ Binary search
Section-B
SQL
21. What is SQL? Mention one SQL package.
SQL stands for Structured Query Language.
Language used to communicate with RDBMS.
3
Oracle, Sybase, Microsoft SQL Server, Access
22. Mention the logical operators in SQL.
• AND
• OR
• NOT
• ALL
• ANY
• IN
• LIKE
• BETWEEN
• EXISTS
23. What is primary key?
An attribute or Set of attributes which uniquely identify each record in a table.
24. Mention DDL commands used in SQL.
Create
Alter
Drop
[CAD]
25. Differentiate DROP and DELETE commands in SQL
DELETE DROP
DELETE is used to remove tuples or rows DROP is used to remove entire table
from a table.
It is a Data Manipulation Language It is a Data Definition Language (DDL)
(DML) command Command
4
perform aggregation functions on non-
grouped columns (such as SUM, COUNT,
AVG, etc).
Group by clause is used to group the
results of a SELECT query based on one or
more columns.
Section-C
HTML
31. What is the use of HTML? List the basic tags.
HTML is used to create web pages.
BASIC TAGS
<html> Defines an HTML document
<head> Defines information about the document
<title> Defines a title for the document
<body>Defines the document's body
<h1> to <h6> Defines HTML headings
<p> Defines a paragraph
<br> Inserts a single line break
32. Differentiate between radio button and check box
5
XML is a markup language much like HTML. XML was designed to describe
data. XML tags are not predefined in XML. You must define your own tags.
Header Tags The header tags <h1>, ... <h6> allows us to place
additional importance on the text within such tags.
<h1> has the largest size, and <h6> the smallest
<center> The <center> tag causes all the text within the tag to
be centered
<p> The <p> tag indicates a new paragraph
<sub> Subscript text
<sup> Superscript text
<mark>
Eg: Output: HTML Marked Formatting
<h2>HTML [text will be highlighted]
<mark>Marked</mark>
Formatting</h2>
36. What is web scripting?
The process of creating and embedding scripts in a web page is known as web
scripting.
37. What is the purpose of anchor tag in HTML?
Anchor tag defines a hyperlink that links one page to another page.
38. What is a frame?
Frames are used to divide the browser window into multiple sections where each
section can load a separate HTML document.
39. What is the use of PHP files?
PHP stands for PHP Hypertext Pre-processor.
It is a server side scripting language.
Suitable for server-side web development.
40. Mention the features of DHTML.
✓ Dynamic content, which allows the user to dynamically change Web page
content.(depending on time and geographical location)
✓ Dynamic positioning of Web page elements.
✓ Dynamic style, which allows the user to change the Web page's color, font, size or
content.
✓ Can be used to create animations, games, applications, provide new ways of navigating
through web sites.