Level 5 Coding Merged
Level 5 Coding Merged
Attempt 1
Test Duration: 00:04:13 Test Start Time: Jul 21, 2022 | 11:36 AM Test Submit Time: Jul 21, 2022 | 11:43 AM Resume Count: 1
Rank: NA Rank: NA
Rank: NA Rank: NA
Rank: NA Rank: NA
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 1/22
7/22/22, 3:24 PM LPU
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 2/22
7/22/22, 3:24 PM LPU
0 Question Wrong: 0
Partially Correct: 0
0 Question Wrong: 0
Partially Correct: 0
/2 /1
Question Not Viewed: 1 Question Not Viewed: 0
Topic wise Analysis Quants Section Logical Reasoning English Section Coding
In the following question, the sentence given with blank to be filled in with an appropriate word/s. Select the correct alternative out of the
four and indicate it by selecting the appropriate option.
She is _____ most diligent employee and I will recommend her name for promotion.
the CORRECT
the more
much and
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 3/22
7/22/22, 3:24 PM LPU
Show solution
Question No: 2 Multi Choice Type Question Report Error
Pediatrics
Archaeologist
Omnipotent CORRECT
Philatelist
In the following question, a sentence has been given in Direct/Indirect speech. Out of the four alternatives suggested, select the one
which best express the same sentence in Indirect/Direct speech.
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 4/22
7/22/22, 3:24 PM LPU
Show solution
whereas CORRECT
except
unless
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 5/22
7/22/22, 3:24 PM LPU
since
Show solution
Common content
Read the passage and answer the questions that follow
Rohit brushed quickly past an elderly woman waiting on the platform ahead of him to get onto the metro. He wanted to be sure to get a
seat to read his Economic Times. As the train rolled out of the station, he lifted his head from the newspaper and stared at the man
directly across from him.
A tsunami - of antipathy came over him. Rohit knew this man, knew him all too well.
Their eyes locked. As the train reached full speed, the ruckus of speeding wheels against the winding rails and a wildly gyrating subway
car filled Rohit's ears. To this frenetic beat, Rohit effortlessly listed in his head all the reasons this man, whose eyes he stared coldly into,
was an anathema to him.
He had climbed the upper echelons of his firm using an imperious manner with his subordinates, always making sure everyone knew he
was the boss. Despite his impoverished upbringing, he had become ostentatious. Flush with cash from the lucrative deals he had made,
he had purchased a yacht and a home in Mumbai. He used neither. But, oh, how he liked to say he had them. Meanwhile, Rohit knew, this
man's parents were on the verge of being evicted from their rundown tenement apartment in Allahabad.
What bothered Rohit most about this man was that he never even attempted to make amends for his evil ways.Could this man change?
Rohit did not know. He could try though.The train screeched to Rohit's stop. He gave the man one last hard look. "See you around," he
mumbled to himself. And he knew he would, because Rohit had been glaring at his own reflection in the glass in the metro. It would take
years of hard work and therapy, but Rohit would one day notice this man again on the train and marvel at what a kinder person he had
become.
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 6/22
7/22/22, 3:24 PM LPU
Question
Which statement makes most sense from what is said in the paragraph?
Show solution
Common content
Read the passage and answer the questions that follow
Rohit brushed quickly past an elderly woman waiting on the platform ahead of him to get onto the metro. He wanted to be sure to get a
seat to read his Economic Times. As the train rolled out of the station, he lifted his head from the newspaper and stared at the man
directly across from him.
A tsunami - of antipathy came over him. Rohit knew this man, knew him all too well.
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 7/22
7/22/22, 3:24 PM LPU
Their eyes locked. As the train reached full speed, the ruckus of speeding wheels against the winding rails and a wildly gyrating subway
car filled Rohit's ears. To this frenetic beat, Rohit effortlessly listed in his head all the reasons this man, whose eyes he stared coldly into,
was an anathema to him.
He had climbed the upper echelons of his firm using an imperious manner with his subordinates, always making sure everyone knew he
was the boss. Despite his impoverished upbringing, he had become ostentatious. Flush with cash from the lucrative deals he had made,
he had purchased a yacht and a home in Mumbai. He used neither. But, oh, how he liked to say he had them. Meanwhile, Rohit knew, this
man's parents were on the verge of being evicted from their rundown tenement apartment in Allahabad.
What bothered Rohit most about this man was that he never even attempted to make amends for his evil ways.Could this man change?
Rohit did not know. He could try though.The train screeched to Rohit's stop. He gave the man one last hard look. "See you around," he
mumbled to himself. And he knew he would, because Rohit had been glaring at his own reflection in the glass in the metro. It would take
years of hard work and therapy, but Rohit would one day notice this man again on the train and marvel at what a kinder person he had
Question
become.
Why did a tsunami of antipathy come over Rohit ?
Because the man sitting across him was his former boss who
treated him badly
Because the guy sitting across him was financially better off
than Rohit
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 8/22
7/22/22, 3:24 PM LPU
Common content
Read the passage and answer the questions that follow
Rohit brushed quickly past an elderly woman waiting on the platform ahead of him to get onto the metro. He wanted to be sure to get a
seat to read his Economic Times. As the train rolled out of the station, he lifted his head from the newspaper and stared at the man
directly across from him.
A tsunami - of antipathy came over him. Rohit knew this man, knew him all too well.
Their eyes locked. As the train reached full speed, the ruckus of speeding wheels against the winding rails and a wildly gyrating subway
car filled Rohit's ears. To this frenetic beat, Rohit effortlessly listed in his head all the reasons this man, whose eyes he stared coldly into,
was an anathema to him.
He had climbed the upper echelons of his firm using an imperious manner with his subordinates, always making sure everyone knew he
was the boss. Despite his impoverished upbringing, he had become ostentatious. Flush with cash from the lucrative deals he had made,
he had purchased a yacht and a home in Mumbai. He used neither. But, oh, how he liked to say he had them. Meanwhile, Rohit knew, this
man's parents were on the verge of being evicted from their rundown tenement apartment in Allahabad.
What bothered Rohit most about this man was that he never even attempted to make amends for his evil ways.Could this man change?
Rohit did not know. He could try though.The train screeched to Rohit's stop. He gave the man one last hard look. "See you around," he
mumbled to himself. And he knew he would, because Rohit had been glaring at his own reflection in the glass in the metro. It would take
years of hard work and therapy, but Rohit would one day notice this man again on the train and marvel at what a kinder person he had
become.
Question
How is the elderly woman waiting on the platform related to Rohit?
his mother
a stranger CORRECT
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 9/22
7/22/22, 3:24 PM LPU
his boss
His subordinate
Show solution
Common content
Read the passage and answer the questions that follow
Rohit brushed quickly past an elderly woman waiting on the platform ahead of him to get onto the metro. He wanted to be sure to get a
seat to read his Economic Times. As the train rolled out of the station, he lifted his head from the newspaper and stared at the man
directly across from him.
A tsunami - of antipathy came over him. Rohit knew this man, knew him all too well.
Their eyes locked. As the train reached full speed, the ruckus of speeding wheels against the winding rails and a wildly gyrating subway
car filled Rohit's ears. To this frenetic beat, Rohit effortlessly listed in his head all the reasons this man, whose eyes he stared coldly into,
was an anathema to him.
He had climbed the upper echelons of his firm using an imperious manner with his subordinates, always making sure everyone knew he
was the boss. Despite his impoverished upbringing, he had become ostentatious. Flush with cash from the lucrative deals he had made,
he had purchased a yacht and a home in Mumbai. He used neither. But, oh, how he liked to say he had them. Meanwhile, Rohit knew, this
man's parents were on the verge of being evicted from their rundown tenement apartment in Allahabad.
What bothered Rohit most about this man was that he never even attempted to make amends for his evil ways.Could this man change?
Rohit did not know. He could try though.The train screeched to Rohit's stop. He gave the man one last hard look. "See you around," he
mumbled to himself. And he knew he would, because Rohit had been glaring at his own reflection in the glass in the metro. It would take
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 10/22
7/22/22, 3:24 PM LPU
years of hard work and therapy, but Rohit would one day notice this man again on the train and marvel at what a kinder person he had
become.
Question
Which statement does not make sense from what is said in the paragraph?
Show solution
Common content
Fill in the appropriate words to complete the passage
Soil pollution (also known as land pollution) is caused when man-made chemicals, such as hydrocarbons, heavy metals, and solvents, get
___(1)___ the soil. These chemicals come from industrial activities and from____(2)___waste in disposal in leaky landfills. Soil pollution
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 11/22
7/22/22, 3:24 PM LPU
can cause health risks. The chemicals can produce harmful vapors, or they can contaminate water supplies ____(3)___ the polluted soil.
Question
Plastic pollution is the_____(4)____of plastic products in the environment that adversely affects wildlife, ____(5)____, or humans.
Fill in the blank numbered(1)
above
into CORRECT
over
near
Show solution
The sentences given in the question, when properly sequenced, form a coherent paragraph. Each sentence is labelled with a letter.
Choose the most logical order of sentences from among the given choices to construct a coherent paragraph.
A. To be culturally literate is to possess the basic information needed to thrive in the modern world
B. Nor is it confined to one social class; quite the contrary
C. It is by no means confined to “culture” narrowly understood as an acquaintance with the arts
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 12/22
7/22/22, 3:24 PM LPU
D. Cultural literacy constitutes the only sure avenue of opportunity for disadvantaged children, the only reliable way of combating the
social determinism that now condemns them
E. The breadth of that information is great, extending over the major domains of human activity from sports to science
AECBD CORRECT
DECBA
ACBED
DBCAE
Show solution
You are requested to identify the best way of writing the sentence in the context of the correct usage of standard written English. While
doing so, you have to ensure that the message being conveyed remains the same in all the cases.
On Discovery channel last night they showed an informative program about new innovations in medical imaging, which you would have
found interesting.
Show solution
up
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 14/22
7/22/22, 3:24 PM LPU
in
on
out CORRECT
Show solution
From the given options choose the one which best expresses the given sentence in active/passive voice:
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 15/22
7/22/22, 3:24 PM LPU
Show solution
In the following question, a sentence has been given in Direct/Indirect speech. Out of the four alternatives suggested, select the one
which best express the same sentence in Indirect/Direct speech.
Mother told her son, “Why are you leaving the house early today?”
Mother asked her son why was he leaving the house early that
day.
Mother asked her son why he was leaving the house early today.
Mother said her son why he was leaving the house early that
day.
Show solution
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 16/22
7/22/22, 3:24 PM LPU
untrustworthy
determination
virtue CORRECT
proclivity
Show solution
The question is a logical sequence of statements with a missing link, the location of which is shown parenthetically [(.....)]. From the four
options, available choose the one that best fits the sequence.
(....) There are numerous companies that are still below the radar screen but are poised to become large companies. In the area of
business and investment research, companies such as Smart Analyst and Evalueserve have reached critical masses and are building
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 17/22
7/22/22, 3:24 PM LPU
brand names based on quality. In the area of graphics and desktop publishing, companies such as Design Presentation and Office Tiger
are growing rapidly and are now looking to grow further through the acquisitions of small players.
Sooner or later BPO lifecycle had to get over; this is how it's
happening.
Show solution
From the given options choose the one which best expresses the given sentence in active/passive voice:
Show solution
showy
radical
modest CORRECT
intrinsic
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 19/22
7/22/22, 3:24 PM LPU
Show solution
Select the word from the given options that can fit the blanks in all the sentences given in the questions.
capital
block CORRECT
stop
range
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 20/22
7/22/22, 3:24 PM LPU
Show solution
In the following question, statements 1 and 6 are respectively the first and the last sentences of a paragraph and statements A, B, C and D
come in between them. Rearrange A, B, C and D in such a way that they make a coherent paragraph together with statements 1 and 6.
Select the correct order from the given choices and mark its number as your answer.
A. Often they do it to get attention or to test their skill at arguing or to try to dominate their parents, friends or teachers.
B. Thus using words to make other people angry or sad gives youngsters a sense of power.
D. Children are bound to be disappointed when their wants clash with parental rules and authority.
6. You should expect and allow a certain amount of grumbling when you are telling a child to do something or enforcing limits.
DABC
ABCD CORRECT
BACD
CABD
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 21/22
7/22/22, 3:24 PM LPU
Show solution
First 1 2 Last
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 22/22
7/22/22, 3:24 PM LPU
Attempt 1
Test Duration: 00:04:13 Test Start Time: Jul 21, 2022 | 11:36 AM Test Submit Time: Jul 21, 2022 | 11:43 AM Resume Count: 1
Rank: NA Rank: NA
Rank: NA Rank: NA
Rank: NA Rank: NA
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 1/13
7/22/22, 3:24 PM LPU
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 2/13
7/22/22, 3:24 PM LPU
0 Question Wrong: 0
Partially Correct: 0
0 Question Wrong: 0
Partially Correct: 0
/2 /1
Question Not Viewed: 1 Question Not Viewed: 0
Topic wise Analysis Quants Section Logical Reasoning English Section Coding
Problem statement
The IT giant "SoftCompInfo" has decided to transfer its message through the network using a new encryption technique. The company
has decided to encrypt the data using the non-prime number concept. The message is in the form of a number and the sum of non-prime
digits present in the message is used as the encryption key.
Write an algorithm to determine the encryption key.
Example
Input
45673
Output
10
Explanation
The non-prime digits are 4 and 6. Hence the output is 4+6 = 10.
Input format
The input consists of an integer - numMessage, representing the numeric form of the message.
Output format
Print an integer representing the encryption key.
Code constraints
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 3/13
7/22/22, 3:24 PM LPU
Sample testcases
Input 1 Output 1
84561 18
Input 2 Output 2
78412 12
C (17)
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 4/13
7/22/22, 3:24 PM LPU
Status: Not Viewed Mark obtained: 0/10 Hints used: 0 Times compiled: 0
Times submitted: 0 Level: Easy Question type: Single File Programming
Subject: Programming Subject: C Programming Subject: Functions
Solution 1 C (17)
1 #include <stdio.h>
2 int nonprime(int);
3 int nonprime(int n)
4 {
5 int digit,i,sum=0,m;
6 while(n!=0)
7 {
8 digit=n%10;
9 n=n/10;
10
11
12 for(i=2;i<digit;i++)
13 {
14 if(digit%i==0)
15 {
16 sum=sum+digit;
17 break;
18 }
19 }
20 }
21 return sum;
22 }
23 int main()
24 {
25 int n;
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 5/13
7/22/22, 3:24 PM LPU
25 int n;
26 f("%d" & )
Solution 2 C++ (17)
1 #include <iostream>
2 using namespace std;
3 int nonprime(int);
4 int nonprime(int n)
5 {
6 int digit,i,sum=0,m;
7 while(n!=0)
8 {
9 digit=n%10;
10 n=n/10;
11
12
13 for(i=2;i<digit;i++)
14 {
15 if(digit%i==0)
16 {
17 sum=sum+digit;
18 break;
19 }
20 }
21 }
22 return sum;
23 }
24 int main()
25 {
26 i t
Solution 3 Java (11)
1 import java.util.*;
2 class Main
3 {
4 public static int fun(int n)
5 {
6 int digit,i,sum=0,m;
7 while(n!=0)
8 {
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 6/13
7/22/22, 3:24 PM LPU
{
9 digit=n%10;
10 n=n/10;
11
12 for(i=2;i<digit;i++)
13 {
14 if(digit%i==0)
15 {
16 sum=sum+digit;
17 break;
18 }
19 }
20 }
21 return sum;
22 }
23 public static void main(String args[])
24 {
25 Scanner sc = new Scanner(System.in);
26 i t tI t()
Solution 4 Python (3.8)
1 def fun(n):
2 sum = 0
3 while n != 0:
4 flag = 1
5 digit = n % 10
6 n = n // 10
7 for i in range (2, digit):
8 if(digit % i == 0):
9 sum = sum + digit
10 break
11 return sum
12
13 n = int(input())
14 print(fun(n))
15
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 7/13
7/22/22, 3:24 PM LPU
Problem statement
The e-commerce company "TodaysApparel" has a list of sale values of N days. Some days the company made a profit, represented as a
positive sales value. Other days the company incurred a loss, represented as a negative sales value. The company wishes to know the
number of profitable days on the list.
Write an algorithm to help the company know the number of profitable days in the list.
Example
Input
7
23 -7 13 -34 56 43 -12
Output
4
Explanation
The number of positive sales values in the list is 4. Hence the output is 4.
Input format
The first line of input consists of an integer - numDays representing the number of days(N).
The second line of input consists of N space-separated integers - sale[0], sale[1], ...... sale[N-1] representing the sales value of N days
respectively.
Output format
Print an integer representing the number of days the company made a profit.
Sample testcases
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 8/13
7/22/22, 3:24 PM LPU
Input 1 Output 1
5
5
1 2 3 4 5
Input 2 Output 2
7
4
23 -7 13 -34 56 43 -12
C (17)
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 9/13
7/22/22, 3:24 PM LPU
Solution 1 C (17)
1 #include<stdio.h>
2
3 int fun(int arr[], int n)
4 {
5 int i, count = 0;
6 for(i = 0; i < n; i++)
7 {
8 if(arr[i] > 0)
9 count++;
10 }
11 return count;
12 }
13 int main()
14 {
15 int n, i;
16 scanf("%d", &n);
17 int arr[n];
18 for(i = 0; i < n; i++)
19 {
20 scanf("%d", &arr[i]);
21 }
22 printf("%d", fun(arr, n));
23 return 0;
24 }
1 import java.util.*;
2 class Main
3 {
4 public static int fun(int arr[], int n)
5 {
6 int i, count = 0;
7 for(i = 0; i < n; i++)
8 {
9 if(arr[i] > 0)
10 count++;
11 }
12 return count;
13 }
14 public static void main(String args[])
15 {
16 Scanner sc = new Scanner(System.in);
17 int n = sc.nextInt();
18 int [] arr = new int[n];
19 for(int i = 0; i < n; i++)
20 arr[i] = sc.nextInt();
21 System.out.print(fun(arr, n));
22 }
23 }
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 11/13
7/22/22, 3:24 PM LPU
1 #include<iostream>
2 using namespace std;
3
4 int fun(int arr[], int n)
5 {
6 int i, count = 0;
7 for(i = 0; i < n; i++)
8 {
9 if(arr[i] > 0)
10 count++;
11 }
12 return count;
13 }
14 int main()
15 {
16 int n, i;
17 cin >> n;
18 int arr[n];
19 for(i = 0; i < n; i++)
20 {
21 cin >> arr[i];
22 }
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 12/13
7/22/22, 3:24 PM LPU
22 }
23 cout << fun(arr, n);
24 return 0;
25 }
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 13/13
7/22/22, 3:23 PM LPU
Attempt 1
Test Duration: 00:04:13 Test Start Time: Jul 21, 2022 | 11:36 AM Test Submit Time: Jul 21, 2022 | 11:43 AM Resume Count: 1
Rank: NA Rank: NA
Rank: NA Rank: NA
Rank: NA Rank: NA
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 1/16
7/22/22, 3:23 PM LPU
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 2/16
7/22/22, 3:23 PM LPU
0 Question Wrong: 0
Partially Correct: 0
0 Question Wrong: 0
Partially Correct: 0
/2 /1
Question Not Viewed: 1 Question Not Viewed: 0
Topic wise Analysis Quants Section Logical Reasoning English Section Coding
Directions: In the following question, only one Conclusion is given and five statements are given as 1), 2), 3), 4) and 5. From this, you have
to take the statements to be true even if they seem to be at variance with commonly known facts and then decide which of the given
statement logically follows.
Conclusions:
All leaves are flowers is a possibility.
No leaf is root.
Statements:
Statements – 1: No tree is flower. Some plants are flowers. All roots are leaves. No leaf is flower.
Statements – 2: All trees are flowers. Some plants are flowers. All roots are plants. No leaf is plant.
Statements – 3: Some trees are flowers. Some plants are flowers. All roots are leaves. No leaf is plant.
Statements – 4: All trees are flowers. Some plants are flowers. All roots are plants. No leaf is flower.
Statements – 5: All trees are flowers. Some plants are flowers. All roots are leaves. No leaf is plant.
Only Statements – 1
O l St t t 3
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 3/16
7/22/22, 3:23 PM LPU
Only Statements – 3
Only Statements – 4
Show solution
In a certain code language, if the word SANDWICH is coded as ADSHCIWN, then how is the word GEOMETRY coded in that language ?
EGMRTYEO
EMGRYTEO
EMGYRETO
EMGYRTEO CORRECT
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 4/16
7/22/22, 3:23 PM LPU
Show solution
Question No: 3 Multi Choice Type Question Report Error
The question below consists of a question and two statements numbered A and B given below it. You have to decide whether the data
provided in the statement(s) is/are sufficient to answer the question. Read both the statements and give an answer.
Show solution
Q CORRECT
Show solution
Viru walks 10m westward, then turns left and walks 10m. He then again turns left and walks 10m. He takes a 45-degree turn rightwards
and walks straight. In which direction is he walking now?
south
west
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 6/16
7/22/22, 3:23 PM LPU
south west
Show solution
In the following question, two pairs of problem figures marked A, B, C and D and four answer figures are given. Select the best answer
figure to substitute element D in the problem figures so that element C is related to element D in the same way as element A is related to
element B. To establish the relationship, consider maximum aspects of the figures (i. e., size, shape, movement etc.). The number of that
answer figure which can be substituted for problem figure D is your answer.
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 7/16
7/22/22, 3:23 PM LPU
CORRECT
Show solution
Here, there are two sets of figures. The figures on left hand side are problem figures marked by numbers 1,2,3,4 and 5 and on the right
hand side are answer figures marked by alphabets a, b, c, d and e. A series is established if one of the five answer figures is placed in
place of the sign? In the problem figures. The figure from answer figures which should replace the sign? in problem figures is your answer.
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 8/16
7/22/22, 3:23 PM LPU
e CORRECT
Show solution
Common content
Read the information given below and answer the questions that follow.
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 9/16
7/22/22, 3:23 PM LPU
1. Eleven students Anwar, Baham, Chetan, Dayal, Eshwar, Farooq, Gajendra, Hariom, Inayat, Jatin and Kishore are sitting on a bench in a
lecture room facing the teacher.
2. Dayal is towards the left of Farooq and second to the right of Chetan.
3. Eshwar is second to the left of Anwar and is sitting on one end.
4. Jatin is the neighbour of Anwar and Baham and is third to the left of Gajendra.
Question
5. Hariom is next to the left of Dayal and is third to the right of Inayat.
Which group of students is sitting just next to the right of Gajendra?
Show solution
Common content
Read the information given below and answer the questions that follow.
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 10/16
7/22/22, 3:23 PM LPU
1. Eleven students Anwar, Baham, Chetan, Dayal, Eshwar, Farooq, Gajendra, Hariom, Inayat, Jatin and Kishore are sitting on a bench in a
lecture room facing the teacher.
2. Dayal is towards the left of Farooq and second to the right of Chetan.
3. Eshwar is second to the left of Anwar and is sitting on one end.
4. Jatin is the neighbour of Anwar and Baham and is third to the left of Gajendra.
5. Hariom is next to the left of Dayal and is third to the right of Inayat.
Question
Who is sitting just in the middle?
Inayat CORRECT
Chetan
Baham
Jatin
Show solution
Common content
The following pie-charts show the earnings and expenditure of the nation from January 1999 to January 2000.
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 11/16
7/22/22, 3:23 PM LPU
Note: Assume that Rupee Earned = Rupee Spent, i.e., expenditure is equal to income.
Question
If the sectoral allocation is to change so that our country spends as much on industrial development as on agriculture (with total
spending on industrial development and agriculture remaining
the same), then the allocation of agricultural sector should reduce by approximately
28.13% CORRECT
17%
36%
48%
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 12/16
7/22/22, 3:23 PM LPU
Show solution
Common content
The following pie-charts show the earnings and expenditure of the nation from January 1999 to January 2000.
BREAK-UP OF NATIONAL INCOME AND NATIONAL EXPENDITURE
Note: Assume that Rupee Earned = Rupee Spent, i.e., expenditure is equal to income.
Question
If it is known that out of total external borrowings, 65% is spent on industrial development, 28% on defence, and the rest on debt servicing,
then what is the component of foreign finance in industrial development? (Assume rupees earned = rupees spent)
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 13/16
7/22/22, 3:23 PM LPU
74%
53%
42% CORRECT
27%
Show solution
Pointing to a man in a photograph, Malati tells, “His brother’s father is the only son of my grandfather.” How is Malati related to the man in
the photograph?
Sister CORRECT
Aunt
Mother
D ht
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 14/16
7/22/22, 3:23 PM LPU
Daughter
Show solution
How many points will be on the face opposite to the face which contains 3 points?
5 CORRECT
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 15/16
7/22/22, 3:23 PM LPU
Subject: Dice
Show solution
Father CORRECT
Brother
Uncle
Sister
Show solution
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 16/16
7/22/22, 3:23 PM LPU
Attempt 1
Test Duration: 00:04:13 Test Start Time: Jul 21, 2022 | 11:36 AM Test Submit Time: Jul 21, 2022 | 11:43 AM Resume Count: 1
Rank: NA Rank: NA
Rank: NA Rank: NA
Rank: NA Rank: NA
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 1/14
7/22/22, 3:23 PM LPU
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 2/14
7/22/22, 3:23 PM LPU
0 Question Wrong: 0
Partially Correct: 0
0 Question Wrong: 0
Partially Correct: 0
/2 /1
Question Not Viewed: 1 Question Not Viewed: 0
Topic wise Analysis Quants Section Logical Reasoning English Section Coding
A train covers a distance of 3584 km in 2 days 8 hours. If it covers 1440 km on the first day and 1608 km on second day. By how much
does the average speed of the train for the remaining part of the journey differ from that for the entire journey?
3 km/h less
4 km/h more
4 km/h less
Show solution
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 3/14
7/22/22, 3:23 PM LPU
A batsman is his 17th innings makes a score of 87 and thereby increases his average by 3. What is his average after 17th inning?
30
37
35
39 CORRECT
Show solution
A builder sold a house at an auction for Rs. 4200 and after paying the auctioneer 5% on the selling price he found that he had made a
profit of 5% on what the house cost him. How much did the house cost him?
3210
2630
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 4/14
7/22/22, 3:23 PM LPU
3800 CORRECT
2400
Show solution
If the sum and the product of two numbers are 31 and 220 respectively then the difference of the numbers must be
9 CORRECT
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 5/14
7/22/22, 3:23 PM LPU
The work done by a man, a woman and a child is in the ratio of 3 : 2 : 1. There are 20 men, 30 women and 36 children in a factory. Their
weekly wages amount to Rs.780, which is divided in the ratio of work done by the men, women and children. What will be the wages of 15
men, 21 women and 30 children for 2 weeks?
Rs.585
Rs.292.5
Rs.1170 CORRECT
Rs.900
Show solution
A daily-wage labourer was engaged for a certain number of days for Rs. 5,750, but being absent on some of those days he was paid only
Rs. 5,000. What was his maximum possible daily wage?
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 6/14
7/22/22, 3:23 PM LPU
Rs. 125
Rs. 375
Rs. 500
Show solution
If a certain sum is doubled in 8 years on simple interest then in how many years will it be four times?
24 CORRECT
16
20
18
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 7/14
7/22/22, 3:23 PM LPU
Show solution
The sale price of an article including the sale tax is Rs. 616. The rate of sale tax is 10%. If the shopkeeper has made a profit of 12%, the
cost price of the article is _____.
Rs.500 CORRECT
Rs.515
Rs.550
Rs.600
None of these
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 8/14
7/22/22, 3:23 PM LPU
Show solution
Two vessels contain milk and water in the ratio 3:2 and 7:3. Find the ratio in which the contents of the two vessels to be mixed to get a
new mixture in which the ratio of milk and water is 2:1?
2:1
1:2 CORRECT
4:1
1:4
Show solution
A bag contains 600 coins of 25 p denomination and 1200 coins of 50 p denomination. If 12% of 25 p coins and 24% of 50 p coins are
removed, the percentage of money removed from the bag is ________ .
21.6% CORRECT
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 9/14
7/22/22, 3:23 PM LPU
15.3%
14.6%
12.5%
Show solution
A train passes a person standing on a railway platform in 9 sec and passes the platform completely in 21 sec, if the length of platform is
84m. What is the speed of the train?
32.4 km/hr
50.4 km/hr
74.6 km/hr
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 10/14
7/22/22, 3:23 PM LPU
Show solution
The chances of failing in physics are 20% and the chances of failing in mathematics are 10%. What are the chances to fail in at least one
subject?
28 % CORRECT
18 %
15 %
10 %
Show solution
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 11/14
7/22/22, 3:23 PM LPU
At an election between two candidates, the candidate who got 66 % of the votes casted won by 3072 votes. Find the total number of the
voters on the voting list if 80% people casted their vote and there were no invalid votes.
15000
12000 CORRECT
14000
18000
Show solution
The sum of the three numbers is 116. The ratio of second to third is 9:16 and the first to the third is 1:4. The second number is
64
32
34
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 12/14
7/22/22, 3:23 PM LPU
36 CORRECT
Show solution
How many 3 - letter words with or without meaning, can be formed out of the letters of the word, 'LOGARITHMS', if repetition of letters is
not allowed?
720 CORRECT
420
120
5040
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 13/14
7/22/22, 3:23 PM LPU
Show solution
There are four prime numbers written in ascending order of magnitude. The product of first three is 385 and that of last three is 1001,
Find the first number.
5 CORRECT
11
17
Show solution
https://lpu375.examly.io/result?testId=U2FsdGVkX19IZKOBegrOgKVg%2FkThj5%2FxJeKQKgrTyDDuTfUK09oaiu2ZqvyihuQW 14/14