Ticker

6/recent/ticker-posts

TCS IRA MOST IMPORTANT MCQS MUST LEARN

 

What will the output of the following query:

Select floor(1024.9737) from dual;

1024.973

1024

1024.9

None

 

Major concern of data center managers is

Water availability

Internet availability

Power efficiency

Data loss

 

What are the elements of conversation

Plan,prepare,close and clarify along the way

Think,know,say,close and clarify

Plan,prepare,listen,close and clarify along the way

Think,learn,know,close and clarify

 

 Identify the output of the following code.

<!DOCTYPE html>

<html>

<body>

<p id=”demo”></p>

<script>

Var $=9;

Var $a=7;

Document.getElementById(“demo”).innerHTML=$+$a;

</script>

</body>

</html>

16

9

7

No output

 

Code will throw error

.para1{

Text-aling:center;

Color:red;

}

The given option is what kind of selector

Id

Class

Element

Universal

 

The following is an example of what?

{“firstName”:”John”,”lastname”:”Doe”}

 

Javascript object

Javascript array

Javacript text

An array comprising of objects

 

Which one out of these is not a cloud based service

Private cloud

Public cloud

Hybrid cloud

Enterprise cloud

 

Advantage of diversity include

Fosters innovation

Enchances employee engagement

Inproves business performance

All the above


     Which of the below is the correct way to set a font size?

a.       h2 {font-size: 200pixels ;}                       

b.       h2 {font-size: 200px ;}  

c.        h2 {font-size: 200 ;}

d.        h2 {font-size: 200 %;}

ans :b and d

<html><body><p id=”showresult”> <b> Welcome to TCS </b> </p>

<input type=”button” onclick=”display ()” value=” Click Me”/>

<Script>      function display (){

                b = document.getElementById(‘showresult’).innerHTML;

                Alert (b)               }

</script></body></html>

a.       Internal Error                                             b. None of the option

c.       <b> Welcome TO TCS </b>                    d. Welcome to TCS


 

 What is the output of the below code?

If 0:         print (“hai/”)

Else:      print (“0 is falsy!”)

a.       0                                                      b. NOT

c.       hai                                                   d. 0 is falsy!

 

What is the output of below code?

tcs = {}

Print (type (tcs))

a.    <type ‘dict’>                            c. <type ‘list>

b.       Array                                             d. <type ‘tuple’>

 

Judging others person’s view solely based on our own values and culture is called:

a. Ethnocentrism                                                 

b. Criticism

c. Centrality                                                           

d. Diversity

 

What is Single Responsibility Principle?

a. One person gets one responsibility                

b. Do one thing at all levels

c. None of the options                                   

d. One class should perform a single task

 

Post a Comment

0 Comments