Tech Mahindra Computer Programming Quiz 1

Question 1

Time: 00:00:00
The HyperText Transfer Protocol (HTTP) allows clients to establish direct connections with servers using

web based connection

web based connection

telnet

telnet

domain

domain

linear connection

linear connection

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 2

Time: 00:00:00
The chart with no code and only function flow is referred to as

Structure chart

Structure chart

flowchart

flowchart

Both a and b

Both a and b

none of these

none of these

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 3

Time: 00:00:00
Algorithms and flowcharts are used for

Better programming

Better programming

Efficient coding

Efficient coding

Easy Debugging

Easy Debugging

All of these

All of these

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 4

Time: 00:00:00
Which of the following pseudocode instructions are written with the steps to be taken in the correct order?

Sequence Logic

Sequence Logic

Selection Logic

Selection Logic

Iterating logic

Iterating logic

Looping Logic

Looping Logic

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 5

Time: 00:00:00
Which symbol is used to represent output in flowchart?

Square

Square

Parallelogram

Parallelogram

Circle

Circle

Diamond

Diamond

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 6

Time: 00:00:00
The three things inside the for loop separated by?

colon

colon

semi-colon

semi-colon

comma

comma

slash

slash

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 7

Time: 00:00:00
Which of the following statements enables us to make decision from the available options?

break

break

switch

switch

for

for

goto

goto

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 8

Time: 00:00:00
Which of the following are possible causes of run-time errors are?

Logical error

Logical error

Hardware connected improperly

Hardware connected improperly

Incorrect data

Incorrect data

All of above

All of above

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 9

Time: 00:00:00
The process of finding errors in the code is known as ?

Identified bug

Identified bug

debugging

debugging

Correction

Correction

None of the above

None of the above

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 10

Time: 00:00:00
An exception in caused due to?

A hardware problem

A hardware problem

A run-time error

A run-time error

A problem in the operating system

A problem in the operating system

A syntax error

A syntax error

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

["0","40","60","80","100"]
["Need more practice!","Keep trying!","Not bad!","Good work!","Perfect!"]

Personalized Analytics only Availble for Logged in users

Analytics below shows your performance in various Mocks on PrepInsta

Your average Analytics for this Quiz

Rank

-

Percentile

0%

Get over 200+ Courses under One Subscription

mute

Don’t settle Learn from the Best with PrepInsta Prime Subscription

Learn from Top 1%

One Subscription, For Everything

The new cool way of learning and upskilling -

Limitless Learning

One Subscription access everything

Job Assistance

Get Access to PrepInsta Prime

Top Faculty

from FAANG/IITs/TOP MNC's

Get over 200+ course One Subscription

Courses like AI/ML, Cloud Computing, Ethical Hacking, C, C++, Java, Python, DSA (All Languages), Competitive Coding (All Languages), TCS, Infosys, Wipro, Amazon, DBMS, SQL and others.