Tech Mahindra Computer Science Quiz-1

Question 1

Time: 00:00:00

Which of the following keywords is used in JavaScript to define a variable?

Let

Let

Var

Var

Int

Int

Both A and B

Both A and B

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

Please login to submit your explanation

Question 2

Time: 00:00:00

Which of the following is a correct format of Email address?

name@website.com

name@website.com

Name.website.com

Name.website.com

name.website@com

name.website@com

name@website@com

name@website@com

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

Please login to submit your explanation

Question 3

Time: 00:00:00

How do we alter an element's background color?

Background-color

Background-color

Color

Color

Change-color

Change-color

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 4

Time: 00:00:00

Which GIT Command begins tracking of a new file?

Add

Add

Addfile

Addfile

Begin

Begin

track

track

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

Please login to submit your explanation

Question 5

Time: 00:00:00
DDL Stands for:

Data derived Language

Data derived Language

Data Definition Language

Data Definition Language

Dynamic Data Language

Dynamic Data Language

Detailed Data Language

Detailed Data Language

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

Please login to submit your explanation

Question 6

Time: 00:00:00
In which of the following cases a DML statement is not executed?

when existing rows are modified

when existing rows are modified

when a table is deleted

when a table is deleted

whens some rows are deleted

whens some rows are deleted

all of the above

all of the above

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

Please login to submit your explanation

Question 7

Time: 00:00:00

What purpose does Javascript's <noscript> tag serve?

Clears all the cookies and cache.

Clears all the cookies and cache.

The contents are displayed by browsers without JS support.

The contents are displayed by browsers without JS support.

Both A and B

Both A and B

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 8

Time: 00:00:00

How does one declare a datatype of constant type in Java Script?

Constant

Constant

Var

Var

Const

Const

let

let

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

Please login to submit your explanation

Question 9

Time: 00:00:00

Which CSS is typically advised for creating huge web pages?

Inline

Inline

External

External

Internal

Internal

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

How does one declare internal CSS in HTML?

<Script>

<Script>

<Style>

<Style>

<Link>

<Link>

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

["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.