Code Challenge @ 2k19

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Wisecc2k17
W
Wisecc2k17
Community Contributor
Quizzes Created: 1 | Total Attempts: 168
Questions: 59 | Attempts: 168

SettingsSettingsSettings
Programming Quizzes & Trivia

.


Questions and Answers
  • 1. 

    Python code for print Asterisk (Start) pattern Program to print start pattern: Enter max star to be display on single line 4 * * * * * * * * * * * * * * * *

  • 2. 

    3.Program to check whether the input year is leap or not..

  • 3. 

    Write C Program to reverse given number:

  • 4. 

     What will be the output of the following C code? #include <stdio.h> int main() { void foo(); printf("1 "); foo(); } void foo() { printf("2 "); }

    • A.

      1 2

    • B.

      Compile time error

    • C.

      1 2 1 2 

    • D.

      Depends on the compiler

    Correct Answer
    A. 1 2
    Explanation
    The code will output "1 2". The main function calls the foo function, which prints "2". Then, the main function continues and prints "1". Therefore, the output will be "1 2".

    Rate this question:

  • 5. 

    Which of the following are themselves a collection of different data types?

    • A.

      String

    • B.

      Structures

    • C.

      Char

    • D.

      All of the mentioned

    Correct Answer
    B. Structures
    Explanation
    Structures are a collection of different data types. They allow us to combine different variables of different data types into a single unit. This makes it easier to organize and manipulate related data. Structures can contain variables such as integers, floats, characters, and even other structures. Therefore, the correct answer is structures.

    Rate this question:

  • 6. 

    Which of the following cannot be a structure member?

    • A.

      Another structure

    • B.

      Function

    • C.

      Array

    • D.

      None of the mentioned

    Correct Answer
    B. Function
    Explanation
    A function cannot be a structure member because a structure is a user-defined data type that can contain variables of different data types. Functions, on the other hand, are blocks of code that perform a specific task and can be called from other parts of the program. They are not variables and therefore cannot be members of a structure.

    Rate this question:

  • 7. 

    Which variable has the longest scope in the following C code? #include <stdio.h> int b; int main() { int c; return0; } int a;

    • A.

      A

    • B.

      B

    • C.

      C

    • D.

      Both a and b

    Correct Answer
    D. Both a and b
    Explanation
    In the given C code, the variables 'a' and 'b' have the longest scope. 'a' is declared outside of any function, making it a global variable with a scope that extends throughout the entire program. 'b' is also declared outside of any function, giving it the same global scope as 'a'. Therefore, both 'a' and 'b' have the longest scope in the code.

    Rate this question:

  • 8. 

    Which function will you choose to join two words?

    • A.

      Strcpy()

    • B.

      Strcat()

    • C.

      Strncon()

    • D.

      Memcon()

    Correct Answer
    B. Strcat()
    Explanation
    The strcat() function is used to concatenate (join) two strings together. It takes two arguments - the destination string and the source string, and appends the source string to the end of the destination string. Therefore, in order to join two words, strcat() would be the appropriate function to choose.

    Rate this question:

  • 9. 

    Which of the following is called address operator?

    • A.

      *

    • B.

      &

    • C.

      _

    • D.

      %

    Correct Answer
    B. &
    Explanation
    The address operator in programming is represented by the symbol "&". It is used to obtain the memory address of a variable in order to access or manipulate its value. By using the address operator, we can pass variables by reference to functions, allowing us to modify their values directly in memory.

    Rate this question:

  • 10. 

    Which of the following is the scope resolution operator?

    • A.

      .

    • B.

      ::

    • C.

      &&

    • D.

      ~

    Correct Answer
    B. ::
    Explanation
    The scope resolution operator in C++ is "::". It is used to access members of a class or namespace that are defined outside of the class or namespace. It allows us to specify the scope in which the member is defined and helps in avoiding naming conflicts.

    Rate this question:

  • 11. 

    Which of the following is accessed by a member function of a class?

    • A.

      The object of that class

    • B.

      All members of a class

    • C.

      The public part of a class

    • D.

      The private part of a class

    Correct Answer
    B. All members of a class
    Explanation
    A member function of a class can access all members of that class, including both the public and private parts. This means that the member function can access and manipulate variables, functions, and other members of the class, regardless of their access level. Therefore, the correct answer is that a member function can access all members of a class.

    Rate this question:

  • 12. 

    What is the output of this program? #include <iostream> usingnamespacestd; int main() { int a; a =5+3*5; cout<< a; return0; }

    • A.

      35

    • B.

      20

    • C.

      25

    • D.

      30

    Correct Answer
    B. 20
    Explanation
    The program calculates the value of "a" by performing the multiplication operation first, then the addition operation. The multiplication operation is 3*5, which results in 15. Then, the addition operation is performed by adding 5 to the result of the multiplication, which gives a final value of 20. Therefore, the output of the program is 20.

    Rate this question:

  • 13. 

    What is the output of this program? #include <iostream> usingnamespacestd; int main() { int a =5, b =6, c, d; c = a, b; d =(a, b); cout<< c <<' '<< d; return0; }

    • A.

      5 6

    • B.

      6 5  

    • C.

      6 7

    • D.

      None of the mentioned

    Correct Answer
    A. 5 6
    Explanation
    The program initializes variables a and b with the values 5 and 6 respectively. Then, the value of a is assigned to c, followed by the comma operator and the value of b. This means that c will be assigned the value of a (5) and then the value of b (6), resulting in c being 5.
    Next, the value of a is assigned to d, followed by the comma operator and the value of b. This means that d will be assigned the value of a (5) and then the value of b (6), resulting in d being 6.
    Finally, the values of c and d are printed, resulting in the output "5 6".

    Rate this question:

  • 14. 

    Modulus operator, %, can be applied to which of these?

    • A.

      Integers

    • B.

      Floating – point numbers

    • C.

      Both Integers and floating – point numbers

    • D.

      None of the mentioned

    Correct Answer
    C. Both Integers and floating – point numbers
    Explanation
    The modulus operator, %, can be applied to both integers and floating-point numbers. The modulus operator calculates the remainder when one number is divided by another. This operation is applicable to both integer and floating-point values, allowing us to determine the remainder of a division operation regardless of the type of number being used.

    Rate this question:

  • 15. 

     With x = 0, which of the following are legal lines of Java code for changing the value of x to 1? x++; x= x +1; x+=1; x=+1;

    • A.

      1, 2 & 3

    • B.

      1 & 4

    • C.

      1, 2, 3 & 4

    • D.

      3 & 2

    Correct Answer
    C. 1, 2, 3 & 4
    Explanation
    All of the given options are legal lines of Java code for changing the value of x to 1.

    1) x++ increments the value of x by 1.
    2) x = x + 1 assigns the value of x + 1 to x.
    3) x += 1 is a shorthand notation for x = x + 1.
    4) x=+1 is equivalent to x = +1, which assigns the value of +1 to x.

    Rate this question:

  • 16. 

     What is the output of this program? class increment { publicstaticvoid main(Stringargs[]) { double var1 =1+5; double var2 = var1 /4; int var3 =1+5; int var4 = var3 /4; System.out.print(var2 +" "+ var4); } }

    • A.

      1 1

    • B.

      0 1

    • C.

      1.5 1

    • D.

      1.5 1.0

    Correct Answer
    C. 1.5 1
    Explanation
    The program first assigns the value of 1 + 5 to the variable var1, which results in 6. Then, it assigns the value of var1 divided by 4 to the variable var2, which is 6/4 = 1.5.

    Similarly, the program assigns the value of 1 + 5 to the variable var3, which is 6. Then, it assigns the value of var3 divided by 4 to the variable var4, which is 6/4 = 1.

    Finally, the program prints the values of var2 and var4, which are 1.5 and 1 respectively.

    Rate this question:

  • 17. 

     What is the output of this program? class increment { public static void main(Stringargs[]) { int g =3; System.out.print(++g *8); } }

    • A.

      25

    • B.

      24

    • C.

      32

    • D.

      33

    Correct Answer
    C. 32
    Explanation
    The program declares a variable 'g' and assigns it the value of 3. The expression '++g' increments the value of 'g' by 1, resulting in 4. Then, the expression '4 * 8' is evaluated, which equals 32. Finally, the program prints the value of 32 as the output.

    Rate this question:

  • 18. 

    What is the output of this program? class Output { public static void main(Stringargs[]) { int a =1; int b =2; int c; int d; c =++b; d = a++; c++; b++; ++a; System.out.println(a +" "+ b +" "+ c); } }

    • A.

      3 2 4

    • B.

      3 2 3 

    • C.

      2 3 4

    • D.

      3 4 4 

    Correct Answer
    D. 3 4 4 
    Explanation
    The program starts by initializing variables a and b with the values 1 and 2 respectively. Then, it assigns the value of b incremented by 1 to the variable c (c = ++b), making c equal to 3. Next, it assigns the value of a to the variable d and then increments the value of a by 1 (d = a++). After that, it increments the values of both c and b by 1 (c++ and b++). Finally, it increments the value of a by 1 (++a). The program then prints the values of a, b, and c, which are 3, 4, and 4 respectively.

    Rate this question:

  • 19. 

    What is the output of this program? class Output { public static void main(Stringargs[]) { int a,b,c,d; a=b=c=d=20 a+=b-=c*=d/=20 System.out.println(a+" "+b+" "+c+" "+d); } }

    • A.

      Compile time error

    • B.

      Runtime error

    • C.

      A=20 b=0 c=20 d=1

    • D.

      None of the mentioned

    Correct Answer
    C. A=20 b=0 c=20 d=1
    Explanation
    The program will output "a=20 b=0 c=20 d=1". This is because the program assigns the value of 20 to variables a, b, c, and d. Then, it performs the following operations: b-=c*=d/=20. This is equivalent to b = b - (c * (d / 20)), which simplifies to b = 0 - (20 * (1 / 20)), and further simplifies to b = 0 - (20 * 0.05), and finally b = 0 - 1. Therefore, the value of b becomes 0. The other variables remain unchanged.

    Rate this question:

  • 20. 

    What is the output of the following? i = 5 while True: if i%0O9 == 0: break print(i) i += 1

    • A.

      5 6 7 8

    • B.

      5 6 7 8 9

    • C.

      5 6 7 8 9 10 11 12 13 14 15 ....

    • D.

      Error

    Correct Answer
    D. Error
    Explanation
    The code will result in an error because there is an indentation error. The "if" statement inside the "while" loop is not indented properly, causing a syntax error.

    Rate this question:

  • 21. 

    What is the output of below program?  def writer():  title = 'Sir'  name = (lambda x:title + ' ' + x) 4. return name 5. 6. who = writer() 7. who('Arthur')

    • A.

      Arthur Sir

    • B.

      Sir Arthur

    • C.

      Arthur

    • D.

      None of the mentioned

    Correct Answer
    B. Sir Arthur
    Explanation
    The program defines a function called "writer" which creates a lambda function that takes an argument "x" and returns the concatenation of the variable "title" (which is "Sir") and a space, followed by the argument "x". The function "writer" then returns this lambda function.
    On line 6, the variable "who" is assigned the result of calling the "writer" function.
    On line 7, the "who" variable is called as a function with the argument "Arthur".
    Therefore, the output of the program will be "Sir Arthur".

    Rate this question:

  • 22. 

    What is the output of the following? x = (i for i in range(3)) for i in x: print(i) for i in x: print(i)

    • A.

      0 1 2

    • B.

      Error

    • C.

      0 1 2 0 1 2

    • D.

      None of the mentioned

    Correct Answer
    A. 0 1 2
    Explanation
    The output of the given code is "0 1 2".

    The code creates a generator object called "x" using a generator expression. The generator expression generates values from 0 to 2 (inclusive) using the range function.

    In the first for loop, the values generated by the generator object "x" are printed one by one, resulting in "0 1 2" being printed.

    However, in the second for loop, since the generator object "x" has already been exhausted in the previous loop, there are no more values to generate. Therefore, the second for loop does not execute and does not print anything.

    Rate this question:

  • 23. 

    Which of the following cannot be a variable in Python ?

    • A.

      __init__

    • B.

      In

    • C.

      It

    • D.

      On

    Correct Answer
    B. In
    Explanation
    The word "in" cannot be a variable in Python because it is a reserved keyword used for membership testing and iteration. Reserved keywords in Python have predefined meanings and cannot be used as variable names.

    Rate this question:

  • 24. 

    ________ matches the start of the string. ________ matches the end of the string.

    • A.

      ‘^’, ‘$’

    • B.

      ‘$’, ‘^’

    • C.

      ‘$’, ‘?’

    • D.

      ‘?’, ‘^’

    Correct Answer
    A. ‘^’, ‘$’
    Explanation
    The symbol "^" matches the start of the string, while the symbol "$" matches the end of the string.

    Rate this question:

  • 25. 

    How many unique colors will be required for proper vertex coloring of an empty graph having n vertices?

    • A.

      0

    • B.

      1

    • C.

      2

    • D.

      N

    Correct Answer
    B. 1
    Explanation
    For an empty graph, there are no edges and therefore no adjacent vertices. In vertex coloring, adjacent vertices must have different colors. Since there are no adjacent vertices in an empty graph, we can assign the same color to all the vertices. Hence, only one unique color is required for proper vertex coloring of an empty graph with n vertices.

    Rate this question:

  • 26. 

    What is the maximum number of children that a binary tree node can have?

    • A.

      0

    • B.

      1

    • C.

      2

    • D.

      3

    Correct Answer
    C. 2
    Explanation
    A binary tree node can have a maximum of two children because it is a binary tree, which means each node can have at most two branches or children. In a binary tree, each node has a left child and a right child, or it can have no children at all. Therefore, the maximum number of children a binary tree node can have is 2.

    Rate this question:

  • 27. 

    How many orders of traversal are applicable to a binary tree (In General)?

    • A.

      1

    • B.

      4

    • C.

      2

    • D.

      3

    Correct Answer
    D. 3
    Explanation
    There are three orders of traversal applicable to a binary tree in general: pre-order traversal, in-order traversal, and post-order traversal. Pre-order traversal visits the root node first, then the left subtree, and finally the right subtree. In-order traversal visits the left subtree first, then the root node, and finally the right subtree. Post-order traversal visits the left subtree first, then the right subtree, and finally the root node.

    Rate this question:

  • 28. 

    If several elements are competing for the same bucket in the hash table, what is it called?

    • A.

      Diffusion

    • B.

      Replication

    • C.

      Collision

    • D.

      None of the mentioned

    Correct Answer
    C. Collision
    Explanation
    When multiple elements are competing for the same bucket in a hash table, it is called a collision. This occurs when the hash function maps two or more elements to the same index in the hash table. Collisions are common in hash tables and need to be handled properly to ensure efficient retrieval and storage of data. Various collision resolution techniques, such as chaining or open addressing, can be used to address this issue.

    Rate this question:

  • 29. 

    What is the hash function used in the division method?

    • A.

      H(k) = k/m

    • B.

      H(k) = k mod m

    • C.

       h(k) = m/k

    • D.

      H(k) = m mod k

    Correct Answer
    B. H(k) = k mod m
    Explanation
    The correct answer is h(k) = k mod m. In the division method of hash function, the key (k) is divided by the size of the hash table (m), and the remainder (mod) of this division is taken as the hash value. This ensures that the hash value falls within the range of the hash table size, allowing for an even distribution of keys across the table.

    Rate this question:

  • 30. 

    Student(ID, name, dept name, tot_cred) In this query which attributes form the primary key?

    • A.

      Name

    • B.

      Dept

    • C.

      Tot_cred

    • D.

      ID

    Correct Answer
    D. ID
    Explanation
    The primary key in this query is ID. The primary key is a unique identifier for each record in a table, and it ensures the integrity and uniqueness of the data in the table. In this case, the ID attribute uniquely identifies each student in the table. The other attributes (name, dept name, tot_cred) are not mentioned to be part of the primary key, so they are not necessary for uniquely identifying the records.

    Rate this question:

  • 31. 

    An attribute A of datatype varchar(20) has the value “Avi”. The attribute B of datatype char(20) has value ”Reed”. Here attribute A has ____ spaces and attribute B has ____ spaces.

    • A.

      3, 20

    • B.

      20, 4

    • C.

      20, 20

    • D.

      3, 4

    Correct Answer
    A. 3, 20
    Explanation
    The attribute A has 3 spaces because the datatype is varchar(20), which means it can store up to 20 characters but the actual value "Avi" only takes up 3 characters. On the other hand, the attribute B has 20 spaces because the datatype is char(20), which means it will always store exactly 20 characters, regardless of the actual value.

    Rate this question:

  • 32. 

    ______ is a special type of integrity constraint that relates two relations & maintains consistency across the relations.

    • A.

      Entity Integrity Constraints

    • B.

      Referential Integrity Constraints

    • C.

      Domain Integrity Constraints

    • D.

      Domain Constraints

    Correct Answer
    B. Referential Integrity Constraints
    Explanation
    Referential Integrity Constraints are a special type of integrity constraint that ensure consistency between two relations in a database. These constraints enforce the relationship between the primary key in one relation and the foreign key in another relation. They ensure that any value in the foreign key column of the dependent relation must exist as a primary key value in the referenced relation. This maintains data integrity and prevents inconsistencies or orphaned records in the database.

    Rate this question:

  • 33. 

    SELECTemp_name FROM department WHEREdept_nameLIKE ’ _____ Computer Science’; Which one of the following has to be added into the blank to select the dept_name which has Computer Science as its ending string?

    • A.

      %

    • B.

      _

    • C.

      ||

    • D.

      $

    Correct Answer
    A. %
    Explanation
    The symbol '%' is used as a wildcard character in SQL to represent any sequence of characters. By adding '%' after the word 'Computer Science', the query will select the dept_name which has 'Computer Science' as its ending string.

    Rate this question:

  • 34. 

    Identify the wrong sentence a. Sheeps is sold cheaper than goat b. Sheep are sold cheaper than goat c. Sheeps are sold cheaper than goat d. Sheep is sold cheaper than goat

    • A.

      AC are wrong

    • B.

      AB are wrong

    • C.

      CD are wrong

    • D.

      BD are wrong

    Correct Answer
    A. AC are wrong
    Explanation
    The correct answer is AC are wrong. In option a, the word "sheeps" is incorrect as the plural form of sheep is still "sheep." In option c, the verb "are" should be used instead of "is" to agree with the plural subject "sheep."

    Rate this question:

  • 35. 

    Identify the wrong sentence: Implementation of these measures /2) may help the Govt /3) to generating a revenue of /4) about Rs. 400 crores a year.  

    • A.

      Implementation of these measures

    • B.

      May help the Govt

    • C.

      To generating a revenue of

    • D.

      About Rs. 400 crores a year.

    Correct Answer
    C. To generating a revenue of
    Explanation
    The sentence "to generating a revenue of" is grammatically incorrect. The correct form should be "to generate a revenue of" as the verb "generate" should be in its base form after the preposition "to".

    Rate this question:

  • 36. 

    Identify the wrong sentence: The presiding officer /2) replied that everything depended /3) on him receiving /4) the reply on time.  

    • A.

      The presiding officer

    • B.

      Replied that everything depended

    • C.

      On him receiving

    • D.

      The reply on time

    Correct Answer
    C. On him receiving
    Explanation
    The correct answer is "on him receiving". This sentence is incorrect because the preposition "on" should be followed by a noun or pronoun, not a verb form. The correct sentence should be "on his receiving" or "on receiving".

    Rate this question:

  • 37. 

    Identify the wrong sentence 1) When we reached /2) the station, the /3) train arrived /4) before time.  

    • A.

      When we reached

    • B.

      The station, the

    • C.

       train arrived

    • D.

       before time

    Correct Answer
    C.  train arrived
    Explanation
    The sentence "train arrived" is incorrect because it does not have an article before the noun "train." It should be "the train arrived" to indicate a specific train.

    Rate this question:

  • 38. 

    Look ! A hamster ______ by a cat.  

    • A.

      Has been chased

    • B.

      Was being chased

    • C.

      Is being chased

    • D.

      Is chased

    Correct Answer
    C. Is being chased
    Explanation
    The given correct answer is "is being chased". This is because the sentence is in the present tense and the action of the hamster being chased by the cat is happening right now. The phrase "is being chased" indicates that the action is currently taking place.

    Rate this question:

  • 39. 

    The Reserve Bank of India (RBI)  ________ {Proved,Resolved,Mooted,Rooted} the idea of permitting an Indian corporate to issue rupee bonds in overseas centres in its first bi-monthly policy statement dated April 7, 2015 for this ________ {Present, Current, Financial, Previous} year. On September 29, 2015, the RBI finally issued a circular permitting the issuance of rupee denominated bonds overseas (Circular). International financial ________ {Schools, Colleges, Corporates, Institutions} like the International Finance Corporation and the Asian Development Bank had earlier been  ________ {Granted, Restricted, Unaccepted, Taintedspecific} permission to issue rupee denominated bonds in overseas ________ {Companies, Markets, Firms, Organisations} or ‘masala bonds’ as they are now famously known.

    Correct Answer
    mooted
    financial
    institutions
    granted
    markets
    Explanation
    The correct answer for the first blank is "mooted" because it means to propose or suggest an idea, which is what the RBI did in its policy statement. The correct answer for the second blank is "financial" because it refers to the type of year being discussed in the statement. The correct answer for the third blank is "institutions" because it refers to organizations like the International Finance Corporation and the Asian Development Bank. The correct answer for the fourth blank is "granted" because it means to give permission, which is what was given to these institutions. The correct answer for the fifth blank is "markets" because it refers to the overseas centers where rupee denominated bonds can be issued.

    Rate this question:

  • 40. 

    Missing &Wrong Number Series: 1, 27, 125, ?, 729

    • A.

      512 

    • B.

      1331

    • C.

      343

    • D.

      216

    Correct Answer
    C. 343
    Explanation
    The given sequence is formed by raising the numbers 1, 3, 5, 7, 9 to the power of 3. The pattern is that each number in the sequence is obtained by cubing the next odd number. Therefore, the missing number in the sequence is 7, and its cube is 343.

    Rate this question:

  • 41. 

    Missing & Wrong Number Series: 25, 26, 40, 81, ?

    • A.

      204 

    • B.

      203.5

    • C.

      162.5

    • D.

      205.5

    Correct Answer
    B. 203.5
    Explanation
    The given number series does not follow a specific pattern. However, if we observe the differences between consecutive numbers, we can see that they are increasing in an irregular manner. The difference between the first two numbers is 1, the difference between the second and third numbers is 14, the difference between the third and fourth numbers is 41, and so on. Therefore, to find the missing number, we can continue this pattern. The difference between the fourth and fifth numbers would be 81 + 41 = 122. Adding this difference to the fourth number, 81, gives us 203.5, which is the missing number.

    Rate this question:

  • 42. 

    Missing & Wrong Number Series: 3240, 540, 108, 27, ?, 4.5

    • A.

      7

    • B.

       8

    • C.

      9

    • D.

      10

    Correct Answer
    B.  8
    Explanation
    The given number series follows a pattern where each number is divided by 6 to get the next number. Starting with 3240, dividing it by 6 gives 540, then dividing 540 by 6 gives 108, and so on. Continuing this pattern, dividing 27 by 6 gives 4.5. Therefore, the missing number in the series is 27 divided by 6, which is 4.5.

    Rate this question:

  • 43. 

    Missing & Wrong Number Series: 2.5, 3.5, 15, 60, 300, 1800

    • A.

      3.5

    • B.

      15

    • C.

      2.5

    • D.

      300

    Correct Answer
    A. 3.5
    Explanation
    The given series follows a pattern where each number is obtained by multiplying the previous number by a certain factor. In this case, the pattern seems to be multiplying the previous number by 1, then by 5, then by 4, then by 5, and so on. Starting with 2.5, when we multiply it by 1, we get 2.5. Then, when we multiply 2.5 by 5, we get 12.5. Continuing this pattern, when we multiply 12.5 by 4, we get 50. Finally, when we multiply 50 by 5, we get 250. Therefore, the next number in the series should be obtained by multiplying 250 by 4, which gives us 1000. However, since this number is not provided as an option, the correct answer is 3.5, which does not follow the pattern but fits the given sequence.

    Rate this question:

  • 44. 

    Blood relations: P is the brother of Q and R. S is R's mother. T is P's father. Which of the following statements cannot be definitely true ?   

    • A.

      T is Q's father

    • B.

      Q is T's son

    • C.

      P is S's son

    • D.

      S is P's mother

    Correct Answer
    B. Q is T's son
    Explanation
    The given information states that P is the brother of Q and R, S is R's mother, and T is P's father. From this information, we can conclude that Q is T's son. Therefore, the statement "Q is T's son" can be definitely true. Hence, the statement "Q is T's son" cannot be definitely true.

    Rate this question:

  • 45. 

    Blood relations: Pointing out to a lady, a girl said,"She is the daughter-in-law of the grandmother of my father's only son", How is the lady related to the girl ?  

    • A.

      Sister-in-law

    • B.

      Mother

    • C.

      Aunt

    • D.

      Can't be determined

    Correct Answer
    B. Mother
    Explanation
    The lady is the mother of the girl. The girl states that the lady is the daughter-in-law of the grandmother of her father's only son. Since the girl is referring to herself as "my father's only son," it means that the girl is the daughter of the lady. Therefore, the lady is the girl's mother.

    Rate this question:

  • 46. 

    Blood relations: Rita told Mani, "The girl I met yesterday at the beach was the youngest daughter of the brother-in-law of my friend's mother.". How is the girl related to Rita's friend ?  

    • A.

      Cousin

    • B.

      Daughter

    • C.

      Niece

    • D.

      Friend

    Correct Answer
    B. Daughter
    Explanation
    The girl is the daughter of the brother-in-law of Rita's friend's mother. This means that the girl is the niece of Rita's friend.

    Rate this question:

  • 47. 

    Blood relations: Pointing to a man in a photograph. Asha said."His mother's only daughter is my mother". How is Asha related to that man ?   

    • A.

      Nephew

    • B.

      Sister

    • C.

      Wife

    • D.

      Niece

    Correct Answer
    D. Niece
    Explanation
    Asha is saying that the mother of the man in the photograph is her mother. So, Asha's mother is the mother of the man. Since Asha is the daughter of her mother, it means that Asha is the sister of the man in the photograph. Therefore, Asha is the niece of the man.

    Rate this question:

  • 48. 

    Coding and decoding: Acording to a military code, SYSTEM is SYSMET and NEARER is AENRER. What is the code for FRACTION ?  

    • A.

      CARFTINO

    • B.

      CARFTION

    • C.

      ARFCNOIT

    • D.

      CARFNOIT

    Correct Answer
    D. CARFNOIT
    Explanation
    The given question is based on a specific coding pattern. In this pattern, the letters in the word are rearranged in a specific order. The rearrangement is done by taking the first letter, then the last letter, then the second letter, then the second-to-last letter, and so on. Applying this pattern to the word "FRACTION" gives us "CARFNOIT". Therefore, the correct answer is "CARFNOIT".

    Rate this question:

  • 49. 

    Coding and decoding: If in a code language, COULD is written as BNTKC and MARGIN is written as LZQFHM, how will MOULDING be written in that code ?  

    • A.

      CHMFINTK

    • B.

      LNKTCHMF

    • C.

      LNTKCHMF

    • D.

      NITKHCMF

    Correct Answer
    C. LNTKCHMF
    Explanation
    In the given code language, each letter of the word is replaced by the previous letter in the English alphabet. Therefore, in the word "MOULDING", M becomes L, O becomes N, U becomes T, L becomes K, D becomes C, I becomes H, N becomes M, and G becomes F. Hence, the word "MOULDING" will be written as "LNTKCHMF" in that code.

    Rate this question:

  • 50. 

    Coding and decoding: If MADRAS can be written as NBESBT, how can BOMBAY be written in that code ?  

    • A.

      CPNCBX

    • B.

      CPNCBZ

    • C.

      CPOCBZ

    • D.

      CQOCBZ

    Correct Answer
    B. CPNCBZ
    Explanation
    The given coding pattern is that each letter in the word is replaced with the letter that comes after it in the English alphabet. Applying this pattern to the word BOMBAY, each letter is replaced with the letter that comes after it, resulting in CPNCBZ.

    Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 16, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Sep 18, 2019
    Quiz Created by
    Wisecc2k17
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.