NEW
Font size
WorksheetsT-SQUAD
Total questions: 60
Worksheet time: 30mins
Which program is used by web clients to view the web pages?
Web server
Web browser
Search Engine
Protocol
What are shared on the Internet and are called as Web pages?
programs
cables
Hypertext documents
none
What is the name of the location address of the hypertext documents?
Uniform Resource Locator
Web server
File
Web address
Choose the correct HTML tag to make a text bold?
<b>
<bold>
<bb>
<bld>
The special formatting codes in HTML document used to present content are
tags
attributes
values
None
In which of the following formats data is stored in the database management system?
Image
Text
Table
Graph
What is information about data called?
Hyper data
Tera data
Meta data
Relations
The DBMS acts as an interface between ________________ and ________________ of an enterprise-class system.
Data and the DBMS
Application and SQL
Database application and the database
The user and the software
Which command is used to remove a relation from an SQL?
Drop table
Delete
Purge
te
Purge
Remove
Why the following statement is erroneous?
SELECT dept_name, ID, avg (salary)
FROM instructor
GROUP BY dept_name;
Dept_id should not be used in group by clause
Group by clause is not valid in this query
Avg(salary) should not be selected
None
What is the function of the following command?
Delete from r where P;
Clears entries from relation
Deletes relation
Deletes particular tuple from relation
All of the mentioned
_________________ operations do not preserve non-matched tuples.
Left outer join
Inner join
Natural join
Right outer join
The oldest DB model is _______________
Network
Physical
Hierarchical
Relational
How can we describe an array in the best possible way?
The Array shows a hierarchical structure.
Arrays are immutable.
Container that stores the elements of similar types
The Array is not a data structure
Which of the following is the correct way of declaring an array?
int javatpoint[10];
int javatpoint;
javatpoint{20};
array javatpoint[10];
Which data structure is mainly used for implementing the recursive algorithm?
Queue
Stack
Binary tree
Linked list
Which of the following is the infix expression?
A+B*C
+A*BC
ABC+*
None of the above
What is another name for the circular queue among the following options?
Square buffer
Rectangle buffer
Ring buffer
None of the above
The time complexity of enqueue operation in Queue is __
O(n)
O(1)
O(logn)
O(n)nlog
How many Queues are required to implement a Stack?
3
2
1
4
What is the maximum number of children that a node can have in a binary tree?
3
1
4
2
How can we define a AVL tree?
A tree which is binary search tree and height balanced tree.
A tree which is a binary search tree but unbalanced tree.
A tree with utmost two children
A tree with utmost three children
What is the order of precedence in python?
Exponential, Parentheses, Multiplication, Division, Addition, Subtraction
Exponential, Parentheses, Division, Multiplication, Addition, Subtraction
Parentheses, Exponential, Multiplication, Division, Subtraction, Addition
Parentheses, Exponential, Multiplication, Division, Addition, Subtraction
What should be the first tag in any HTML document?
<head>
<title>
<html>
<document>
What is the correct HTML for making a hyperlink?
<a href=”http://objectivebooks.com”>Objective Books</a>
<a name=”http://objectivebooks.com.com”> Objective Books </a>
<http://objectivebooks.com.com</a>
url=”http://objectivebooks.com.com”> Objective Books
Python allows string slicing. What is the output of below code:
s='cppbuzzchicago'
print(s[3:5])
buzzc
pbuzz
bu
None of the above
Which one of the following is not a keyword in Python language?
pass
eval
assert
nonlocal
What will be the output of the following Python function?
len(["hello",2, 4, 6])
Error
6
4
3
What will be the value of the following Python expression?
4 + 3 % 5
7
2
4
1
Which of the following is used to define a block of code in Python language?
Indentation
Key
Brackets
All of the mentioned
What will be the output of the following Python code?
print("abc. DEF".capitalize())
abc. def
Abc. def
Abc. Def
ABC. DEF
In the Python statement x = a + 5 - b:
a and b are ________
a + 5 - b is ________
operators, a statement
terms, a group
operands, an equation
operands, an expression
What is the Output of the following code?
for i in range(10, 15, 1):
print( i, end=', ')
10, 11, 12, 13, 14,
10, 11, 12, 13, 14, 15,
he Program executed with errors
What is the output of the following code?
JamesJamesJamesJamesJamesJames
JamesJamesJamesJamesJames
Error: invalid syntax
One kilobyte is equal to approximately ________ memory locations.
10,000
1,000,000
1,000
100,000
JavaScript is the same language as Java.
Yes
No
Who is the father of C language?
Steve Jobsb
James Gosling
Dennis Ritchie
Rasmus Lerdorf
All keywords in C are in ____________
LowerCase letters
UpperCase letters
CamelCase letters
None of the mentioned
Which is valid C expression?
int my_num = 100,000;
int my_num = 100000;
int my num = 1000;
int $my_num = 10000;int $my_num = 10000;
Which of the following declaration is not supported by C language?
String str;
char *str;
float str = 3e2;
Both String str; & float str = 3e2;
Special symbol permitted with in the identifier name.
$
@
.
_
What is the output of the following program?
Hello, World!
No output
Compiler Error
Run time error
Which of the following statement can be used to free the allocated memory?
remove(var-name);
free(var-name);
vanish(var-name);
erase(var-name)
The correct order of evaluation for the expression “z = x + y * z / 4 % 2 – 1”
* / % = + -
/ * % - + =
- + = * % /
* / % + - =
Functions in C Language are always _________
Internal
External
Both Internal and External
External and Internal are not valid terms for functions
What is #include <stdio.h>?
Preprocessor directive
Inclusion directive
File inclusion directive
None of the mentioned
In C language, FILE is of which data type?
int
char *
struct
None of the mentioned
What is the sizeof(char) in a 32-bit C compiler?
1 bit
1 Byte
2 Bytes
2 bits
scanf() is a predefined function in______header file.
stdlib. h
ctype. h
stdio. h
stdarg. h
What are the elements present in the array of the following C code?
int array[5] = {5};
5, 5, 5, 5, 5
5, 0, 0, 0, 0
5, (garbage), (garbage), (garbage), (garbage)
(garbage), (garbage), (garbage), (garbage), 5
What is the output of this C code?
True
False
What is the meaning of the following C statement?
printf(“%10s”, state);
10 spaces before the string state is printed
Print empty spaces if the string state is less than 10 characters
Print the last 10 characters of the string
None of the mentioned
The fathers of the Internet is?
Charles Babbage
John McCarthy
Vint Cerf
Barin Lee
Where is RAM located?
Expansion Board
External Drive
Mother Board
All of above
Which web browser was the first web browser from the following?
Safari
Opera
Mosaic
MSIE
Which of the following is the most powerful type of computer?
Megaframe
Super computer
Super conductor
Super–micro
Malicious software is known as?
Badware
Malware
Illegalware
Maliciousware
Bit stands for ____ ?
Binary information term
Binary tree
Binary digit
Bivariate theory
What is the order of precedence in python?
Exponential, Parentheses, Multiplication, Division, Addition, Subtraction
Exponential, Parentheses, Division, Multiplication, Addition, Subtraction
Parentheses, Exponential, Multiplication, Division, Subtraction, Addition
Parentheses, Exponential, Multiplication, Division, Addition, Subtraction
What is the output of the program?
Hello,
World!
Hello, World!
Hello
Compile error
