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

Tech Mahindra Tech Test QuesAVCOE

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

Tech Mahindra Tech Test QuesAVCOE

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/ 44

Tech Mahindra

Tech Test
MCQ
HTTPs
Important Topics:
Flowchart
Java Script
System Software
CSS
Recursion
Email Protocol
Data Types
GIT
Class and Objects
HTML
OOP
DBMS
Storage Classes
SQL
Q 1. Which language is mostly used for system programming?
a. Visual Basic
b. Java
c. C
d. Javascript
Q. 2. Which symbol shows decision node in a programming
flowchart?
a. Oval
b. Triangle
c. Circle
d. Diamond
Q. 3. Which of the following keyword is used in Javascript to
define a variable?
a. let
b. var
c. int
d. Both a and b
Q. 4. Which of the following is correct format of email address?
a. [email protected]
b. name.website@com
c. name.website.com
d. name@website@com
Q. 5. How to ensure that the password chosen for an
important website is secure?
a. Note it down in safe place
b. Let the browser store the password
c. Use a very long password
d. None of the above
Q. 6. Which of the given tools is used by the web servers to
maintain or serve the web pages in secured manner?
a. HTTPS
b. HTTP
c. UDP
d. TCP/IP
Q. 7. How do we alter an element’s background color?
a. Background color
b. Color
c. Text-Color
d. Change Color
Q. 8. Which GIT command begin tracking
of a new file?
a. Add
b. Begin
c. AddFile
d. track
Q. 9. Why we use to divide a long program into smaller functions
or procedures?
a. for good output
b. some languages make it important
c. to make program readable and efficient
d. None of the above
Q. 10. Which software is needed to make a
peripheral device work with a computer?
a. device driver
b. plugin
c. OS
d. firmware
Q. 11. Which SQL command is used to
change the structure of a database table?
a. ALTER
b. DELETE
c. Update
d. None
Q. 12. DDL stands for …..
a. Data Driven Language
b. Data Definition Language
c. Dynamic Data Language
d. Detailed Data Language
Q. 13. In which of the following cases a DML statement is not
executed?
a. When existing rows are modified
b. When a table is deleted
c. When some rows are deleted
d. All of the above
Q. 14. Which of the given options determine the visual aspect
of web page separately from the content?
a. HTML
b. CSS
c. Javascript
d. DHTML
Q. 15. Which of the following feature is useful to add
the functionality by third parties to the chrome
browser?
a. bookmarks
b. favourites
c. plugin
d. applets
Q. 16. What purpose does Javascript’s <noscript> tag serve?
a. clears all cookies and cache
b. The contents are displayed by browsers without JS Support
c. Both a and b
d. None of the above
Q. 17. How does one declare a datatype of constant type in
Javascript?
a. Constant
b. Let
c. Var
d. const
Q. 18. Which CSS is typically advised for creating
huge web pages?
a. inline
b. Internal
c. External
d. None of the above
Q. 19. How does one declare internal CSS in HTML?
a. <Script>
b. <style>
c. <Link>
d. None of the above
Q. 20. The Hypertext Transfer Protocol (HTTP) allows clients
to establish direct connections with server using …….
a. web based connection
b. telnet
c. domain
d. linear connection
Q. 21. The chart with no code and only function flow
is referred to as…………
a. Pseudocodes
b. Flowchart
c. Algorithm
d. None
Q. 22. Algorithms and Flowcharts are used for….
a. better programming
b. efficient coding
c. easy debugging
d. All of the above
Q. 23. Which of the following pseudocode
instructions are written with the steps to be taken in
the correct order?
a. Sequence Logic
b. Selection Logic
c. Iterating Logic
d. Looping Logic
Q. 24. Which symbol is used to represent output in
Flowchart?
a. Square
b. Rectangle
c. Circle
d. Parallelogram
Q. 25. The three things inside the for loop separated
by…..
a. colon
b. semi-colon
c. comma
d. slash
Q. 26. Which of the following statements enables us
to make decision from the available options?
a. break
b. switch
c. for
d. goto
Q. 27. Which of the following are possible causes of
run time errors?
a. logical error
b. hardware connected improperly
c. incorrect data
d. All of the above
Q. 28. The process of finding errors in the code is
known as?
a. Identified Bug
b. Debugging
c. Correction
d. None of the mentioned
Q. 29. Salmon needs to execute a section of code ten times
within a program. Compare the selection structures below and
select which one meets the needs identified.
a. If-Else
b. For
c. While
d. If
Q. 30. A loop that never ends is referred to as ……
a. while loop
b. infinite loop
c. recursive loop
d. for loop
Q. 31. A Uniform Resource Locator (URL) is a reference to a, …..
a. computer resource
b. web resource that specifies its location on a computer network
and a mechanism for retrieving it
c. printer on the network
d. storage server on a network
e. None of the above
Q. 32. In one of the pairs of protocols given below, both the
protocols can use multiple TCP connections between the same
client and server. Which one is that?
a. HTTP, FTP
b. HTTP, TELNET
c. FTP, SMTP
d. HTTP, SMTP
Q. 33. Which one of the following is called as protocol in the
http://www.google.co.in ?
a. .co
b. .in
c. www
d. http
Q. 34. Any algorithm is a program?
a. True
b. False

Q. 35. A data structure that follows FIFO principle….


a. Queue
b. LinkedList
c. Stack
d. Union
Q. 36. Which of the following is not an advantage of a
flowchart?
a. Better communication
b. Efficient coding
c. Systematic Testing
d. Improper documentation
Q. 37. The process of drawing a flowchart for an algorithm is
called………………..
a. Performance
b. Evaluation
c. Algorithmic Representation
d. Flowcharting
Q. 38. A detailed flowchart is called…..
a. Stack
b. Macro
c. Micro
d. Union
Q. 39. A box that can represent two different
conditions……….
a. Rectangle
b. Diamond
c. Circle
d. Parallelogram
Q. 40. An Interpreter is………..
a. program that accepts a program written in a high level language and produces
an object program
b. a program that automate the translation of assembly language into machine
language
c. a program that places program into memory and prepares them for execution
d. a program that appears to execute a source program as if it is were machine
language
Q. 41. An algorithm is best described as…………
a. a branch of mathematics
b. a step by step procedure for solving a problem
c. a compute language
d. all of the above
Q. 42. Predict the output.
#include<stdio.h>
a. 4
int fun(int n)
b. 8
{
c. 16
if(n==4)
d. Runtime Error
return n;
else return 2*fun(n+1);
}
int main()
{
printf(“%d”,fun(2));
return 0;
}
Q. 43. Consider the following recursive function fun(x,y). What
is the output of fun(4,3)?
int fun(int x, int y)
{
if(x==0)
return y;
return fun(x-1, x+y);
}

a. 13
b. 12
c. 9
d. 10

You might also like