Ticker

6/recent/ticker-posts

TCS IRA MOST IMPORTANT MCQ ASKED IN PREVIOUS IRA

 

which of the following is a correct syntax for applying italic style

pick one option

font_family:italic;

font_style:italic;

font_:italic

all of these


 In java script, what will be the value of c

var a=5,b=6, c;

c=A+B;

11

Garbage value

Null

None of the above

Note:It will throw an error

  

The string ‘comments’ is defined as follows

Comments=”power is very supreme”

The ‘comments’ can be printed in all lower case letters by


Print(comments.lowercase())

Print(comments.lower())

Print(lower(comments))

None of these

 

User ()function returns the current users

 

Password

Host name

Db name associated with the user

Both A and B

 

What will be the value of LAST_INSERT_ID()for the newly  created table

-1

0

1

2

 

What is the usage of <span> in HTML?

It is often used as a container for other HTML elements to style them with CSS

It is used to group inline – elements in a document

It is used to highlight parts of your text

 

What will be the output of the following python code

A={}

A[2]=1

A[1]=[2,3,4]

Print(a[1][1])

Options

[2,3,4]

3

2

1

 

While executing DELETE command  ,if you get an error “foreign key constraint”-what does it imply?

Foreign key not defined

Table is empty

Data is present in other table

 Connectivity issue

  

What will be the output of the below command?

Awk’{print NF}’filename

 

Print the number of rows in the file

Print the number of char in each row

Print the number of fields in the file

Print the number of fields in each row

 

 

Which is the correct way to create an object in Javascripts

Var emp={id:”101”,name:”suman”,salary:”50000”};

Var emp=(id:”101”:name:”suman”,salary:”50000”);

Var emp(id,name,salary)=(“101”,”suman”,”50000”);

Var emp(id,name.salary)=(101,”suman”,50000);

 

Identify the commands that will produce same output

 Grep fruit file1.txt

Sed –n’/fruit/p’ file1.txt

Sed ‘/fruit/p’ file1.txt

Find –w fruit file1.txt

 

A distinct emphasis given to a syllable or word in speech by stress or pitch is called

Accent

Punctuation

Tone

Articulation

 

DECLARE

                Count number(2);

BEGIN

                FOR count in 15 LOOP

                                END LOOP;

END;

How many times dos the loop get iterated?

10

1

11

Error

 

Post a Comment

0 Comments