Top 15 LTI Coding Questions

12 May 2023

  • Top 15 LTI Coding Questions With Answers

Top 15 LTI Coding Questions With Answers

Q1) A webpage displays a picture. What tag was used to display that picture? 

A. Picture

B. img

C. image

D. src
 
Answer : Option B

 

Q2) Which Of these standard collection classes implements a dynamic array?

A. AbstractSet

B. AbstractList 

C. LinkedList

D. ArrayList
 
Answer : Option D

 

Q3) How can you make a bulleted list?

A. <ol>

B. <ul>

C. <list>

D. <nl>
 
Answer : Option B

 

Q4) What is the output Of this program?

import java.util.*;

class Output

{

public static void main(String args[])

{

ArrayList Obj = new ArrayList( );

obj.add( "A");

obj.add(0, "B");

System.Out.println(obj.size( ) );

}

}

A. 1

B. 0

C. Any garbage value

D. 2
 
Answer : Option D

 

Q5) What is tuple?

A. A row or record in a database table

B. Another name for the key linking different tables in a database

C.  An attribute attached to a record 

D. Another name for a table in an RDBMS 
 
Answer : Option A

 

Q6) Reference is__________

A. alias of an object

B. used to rename an object

C. a special operator

D. a pointer to virtual function

Answer : Option A

 

Q7) Which of the following does NOT refer to a phase in Software Development Life Cycle?

A. Coding

B. Design

C. Testing

D. Object Oriented Design

Answer : Option D

 

Q8) Long int size is

A. 4 bytes

B. 2 bytes

C. compiler dependent

D. 8 bytes
 
Answer : Option C

 

Q9) Which of the following HTML elements create a horizontal rule?

A. <HRULE>

B. <RULE>="horizontal"</RULE>

C. <BR>

D. <HR>
Answer : Option D

 

Q10) Which of the following is true for an HTML document?

a) It consist of the text to be displayed on the Web page.

b) It consist of information about the formating and structuring of the Web page.

c) It consist of instructions to process the input taken from the Web page. 

A. Only C

B. a and b

C. a and c

D. b and c
Answer : Option B

 

Q11) The layer in the OST model handles terminal emulation

A. Session

B. Application

C. Presentation

D. transport
Answer : Option B

 

Q12) Choose the valid statement

A. All variables are initialized to 0 after declaration

B. Only local and static variables have junk values

C. Static and global variables are automatically initialized to zero at the time of declaration

D. All automatic variables are initialized to zero

Answer : OptionC

 

Q13) Merge sort algorithm uses___________________technique

A.Brute force

B.Dynamic programming

C.Greedy

D.Divide and conquer

Answer : Option D

 

Q14) Data communication system spanning states, countries or the whole world is called _____?

A. LAN

B. WAN

C. MAN

D. None of the above

Answer : Option B

 

Q15) What is the asymptotic worst case complexity of the given pseudo code

for(i=0;i {

for(j=0;j {

c[i][j]=0;

for(k=0;k {

c[i][j]=c[i][j]+a[i][k]*b[k][j];

}

}

}

A. O(n)

B. O(1)

C. O(n^2

D. O(n^3)?

Answer : Option D


FAQ

Any Questions?
Look Here.

Related Articles

Accenture Abstract Reasoning Previous Year Questions

Accenture Critical Reasoning and Problem Solving Questions

Accenture English Ability Previous Year Questions

Accenture MS Office Questions

Accenture Network Security & Cloud Computing Questions

Accenture Pseudocode Questions

Capgemini Game Based Aptitude Previous Year Questions

Capgemini Technical MCQ's Previous Year Questions

Cisco Aptitude Previous Year Questions

Cognizant Gen C Quantitative Ability Previous Year Questions

Dell Quantitative Aptitude Previous Year Questions

Dell Verbal Ability Previous Year Questions

Deloitte Quantitative Aptitude Previous Year Questions

DXC Technology Automata Fix Questions

DXC Technology Computer Programming Questions

DXC Technology Logical Ability Questions

DXC Technology Quantitative Ability Previous Year Questions

DXC Technology Verbal Ability Questions

Goldman Sachs Numerical Computation Previous Year Questions

Hexaware Logical Ability Previous Year Questions

Hexaware Numerical Ability Previous Year Questions

Hexaware Verbal Ability Previous Year Questions

Infosys Mathematical Ability Previous Year Questions

Infosys Pseudocode Questions

Infosys Puzzle Solving Previous Year Questions

Infosys Reasoning Ability Previous Year Questions

Infosys SP DSE Previous Year Questions

Infosys Verbal Ability Previous Year Questions

InfyTQ DBMS Questions

InfyTQ Java Questions

LTI Logical Reasoning Previous Year Questions

LTI Quantitative Ability Previous Year Questions

LTI Verbal Ability Previous Year Questions

Mindtree Previous Year Questions

TCS NQT Numerical Ability Questions

TCS NQT Previous Year Coding Questions

TCS NQT Verbal Ability Questions

Tech Mahindra Logical Ability Previous Year Questions

Tech Mahindra Quantitative Ability Previous Year Questions

Top 14 Capgemini Pseudocode Questions

Top 15 TCS NQT Reasoning Questions

Wipro Logical Ability Questions

Wipro Quantitative Ability Previous Year Questions

Wipro Verbal Ability Questions