Javamcq
Javamcq
Ans- 1968
Q2. Which of the following sorting algorithms are best suited when almost all
elements
are already sorted(max one or two are not sorted)?
Ans - Insertion Sort
Q12. You are new to an organization and you are middle of an assessment then
only
your senior asked to attend a seminar behalf on him.
Ans - Politely say you will attend after completing your assessment
Q13. Pattern matching command in UNIX.
Ans - grep
Q1. What is the command for ordered list with roman number in HTML?
Ans- ut
Ans- rm -rf
Ans- Figuring out facts and something & Figuring out facts not personal view
Ans- Ethnocentrism
Ans- Classification
Q11. The production log can be shared with the concerned team after appropriate
Ans- Approval
Ans- /e
Ans- Intuitive
Ans- 3
Ans - Integrity
Ans - TRUE
5. The science and technology that deals with Automatic Computer driven
machine which replaces Humans is called ad
Ans - Robotics
Ans - TRUE
1. Technique include fluid layout design so that site can adjust according to the
resolution of the device
c. Responsive Design
2. Cloud services are massively scalable IT enabled capabilities which are
delivered to external customers using Internet technology
a. TRUE
b. Jamsetji TATA
Bizz Skill
c. Synthesize the technical and business skill set that help associate
to become adaptive in digital business requirement
d. Sales Revenue
a. Maintainability b. Readability
d. Extensibility
a. TRUE
5. Do you think you know the secret to success ? Select the option that leads to
success.
b. Being Proactive
c. Continuous innovation and differentiation
UNIX
a. Display all files who has all the three permission for all levels of
users
b. Display all directories who has all the three permission for all
levels of users
c. Display all files who has minimum level of permission for all
levels of users
d. Display all folders who has all the three permission for all levels
of users
2. Which awk script will give you the average of second column of the file named
file1, which has ‘|’ as the delimiter
b. A first line in the shell scripts which shell need to be execute the
following command in the shell scripts
c. The line which contains the total numbers of lines in the shell
scripts
MYSQL
2. Which of the following set of operation can be used to enable a multi value
comparison within a single column?
d. IN
USE CUSTOMER;
UI
b. h2 {font-size:200px;} d. h2 {font-size:200%;}
b. border
3. Block element can be aligned by setting the left and right margin to
“align”
b. FALSE
<html>
<body>
<script>
function display()
b = document.getElementById(‘showresult’).innerHTML;
alert(b)
</script>
</body>
</html>
d. Welcome To TCS
5. Output of below script.
<html>
<body>
<div id = “content”></div>
<script>
function display() {
a = document.getElementByTagName(“input”);
document.getElementById(‘content’).innerText = a[0].value+a[1].value;
</script>
</body>
</html>
b. JDK1.8
tcs = {}
print(type(tcs))
a. <type ‘dict’’
KYT
a. TRUE
Which are the below listed options that we need to take care with respect to
environment protection?
An associate is interested in Cloud, while his current project requires him to learn
an Automation Testing Tool, in which he has no interest. How can the situation be
handled effectively ?
c. The associate can prioritize the current need of the project. At the same time,
he cater to personal interests by striking a fine ball of time and interest
How many hours of videos uploaded to YouTube every minute
d. 100
Bizzskill
Judging another person’s view solely based on our own values and culture is
called :
a. Ethnocentrism
d. If your napkin falls on the floor during a formal meal , pick it up.
F. Speaking loudly
Design
According to KISS Design Principle, we should use features like frameworks, APIs
only when there are perceptible benefits to the problem we are solving.
a. TRUE
What type of review must be done to determine the change success rate
a. pre-implementation review
During a crisis, do not cascade incorrect updates to the customers and other
associates. Always wait for confirmation from the
a. BEGIN and END blocks are not Mandatory in all awk commands
b. tail -1 filename
Select the command to read the input from the User in shell scripting?
b. read
UI
a. var str1=’Hello’;
d. var str1=”Hello”;
a. TRUE
Which of the following are the elements that have been added in HTML5? All is the
answer harshi
a. <article> b. <header>
b. <footer> d. <main>
“I cannot create a JS array using the ‘new’ keyword” State true or false.
b. FALSE
error in line 3
String a;
2.a.length()
3.class Box{.....}
Class solution
Box box[]={b1,b2,b3,b4,b5};
for(int i=0;i<box.length();i++)
1. attributes
2.behaviour
3.both
1) class variable
char ch=127;
ch++;
Arrays . sort(s);
for(String k in s)
2) hybernatejava object
2) 11
9.Which operator gives result if no condition satisfies.?
3) NOT
2.int 1_a
Inc()
{
a++;
print(a)
Inc()
Inc()
3.2,3
Boolean(true, false)
14.Which among the following falls under key elements of programming? All arre
true
2. Declarative knowledge
3. imperative knowledge
1. .java
1.Compilation
4.JDK
18.What is the extension of compiled java classes?
3..class
2.Keyword
3.Boolean
21.Which of these is long data type literal?
2.0x99fffL
2.Object class
4.Final
1.self join
2.Plsql question with global variables and local variables
3.195,195
1.2
4.Sql command-
3.Fetch
6.To increase the size of a column in SQL.. ?
7.One question from plsqlwas” the upward to lower flow in a loop is ....?”
2.reverse
8.SQL Query used to search details based on the 1st character in a column..?
TYPE provides datatype of a variable and ROWTYPE provides record type that
represents a entire row of a table or view or columns selected in the cursor
terminate loop when row count is greater than 5 or when no data found
2.IF THEN END IFIF THEN ELSE END IFIF THEN ELSIF END IF
1.True
1.wel
16.Sql command to drop the column in specific table.. ?
background-image
false
<oltype='I'>
2.ut
5.p{ color: green }
<p>xyz</p>
1.Green
<em>
2.<p>
1.Day
9.Which is invalid escape sequence in JavaScript ?
4./e
10.you have created a shell script and wants to run the script . what should you do
before try to run
the script ?
1.Image
2.Table
3.Both
12.Text-align:justify... ?
4.None of these correct answer [Stretches the lines so that each line has equal
width])
2. will create a link having background color red and on moving the pointer
background color will be green
2.225
3.<emph> or <em>
16.<p>top news </p
1.True
1.<hr>
18.Array in javascript.. ?
1.List form[]
2.Color :#000ff
20.<imgurl="sky.jpg" width="100" height="100" opacity="0.25".> ?
2.Underline
1.True
1.float
(<h1 class="Xplore">)
4.h1.xplore{....}
28.<p class="abc"></p>
<script>var x ;
document.getElementByClass("abc").innerHTML= x;
</script>
1) NaN
1.True
1. .A{color: red;}
3.Transition phase ?
3nf
1.primary key is only one and foreign key may be one or more
2.False
9.Rio
Rigor in Operations
12.Name the pledge taken by support engineers to ensure they adhere to project
discipline-
2.operations pledge
3.many to many
15.What are the various keywords used along with the ALTER statements?
2.DROP,RENAME,ADD,MODIFY
16.Which of the below option ensure that the value of COLUMN(named as budget)
is non-negative?
4.check(budget>=0)
1.false
24th July as TCS operations day(available 24x7) and whole week is known as RiO
week to spread awareness about RiO
2.Merge
3.Primes algorithm
3.Which algorithm will give best performance when array is half or almost sorted ?
1.Insertion sort
1.KISS.DRY.WET.YAGNI.SOLID
O(nlogn)
9.algorithm category.. ?
4.Classification
True
1.robust
2.flexible
a. 1968
a. Cost
b. Common Sense
c. Technology
c. Integrity
a. Deployment Location
Mobile application can interact with GPS and Camera of the device
a. True
• 1, 2
• a, c, e
What all details should be provided in the signature of an e-mail? Choose the best
options.
c. Personal address
d. Organization Website
• a, b & d
Paul is working with a client who is casual while communicating him through a
chat application. The client send him memes and other forwards to build a better
workplace relationship. Select the best option.
c. Paul can be task orient and polite. He can avoid responding by sharing
memes and forwards through chat applications.
d. Insertion Sort
ISNULL
Nulls in PL/SQL can be assigned and it can be equated with anything, including
iteself.
FALSE
v_text number(10);
Which tag is correct to add CSS style inline using Style attribute?
The <noscript> tag can only used inside <body> element in HTML5.
FALSE
FALSE