Questions

Q:

Give the truth table for a Half Adder. Give a gate level Implementation of the same.

Answer

TRUTH TABLE FOR HALF ADDER


A    B  SUM  CARRY


0    0    0         0


0    1    1         0


1    0    1         0


1    1    0         1


INPLEMENTATION:


For SUM, The two inputs A and B are given to XOR gate.


For Carry, The two inputs A and B are given to AND gate.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2474
Q:

A subquery in an sql select statement.

Answer

A Subquery or Inner query or a Nested query is a query within another SQL query and embedded within the WHERE clause.


Subqueries are most frequently used with the SELECT statement. The basic syntax is as follows::


SELECT column_name [, column_name ]
FROM table1 [, table2 ]
WHERE column_name OPERATOR
(SELECT column_name [, column_name ]
FROM table1 [, table2 ]
[WHERE])



A subquery is used to return data that will be used in the main query as a condition to further restrict the data to be retrieved.


Subqueries can be used with the SELECT, INSERT, UPDATE, and DELETE statements along with the operators like =, <, >, >=, <=, IN, BETWEEN, etc.


 


There are a few rules that subqueries must follow −


 


1. Subqueries must be enclosed within parentheses.


2. A subquery can have only one column in the SELECT clause, unless multiple columns are in the main query for the subquery to compare its selected columns.


3. An ORDER BY command cannot be used in a subquery, although the main query can use an ORDER BY. The GROUP BY command can be used to perform the same function as the ORDER BY in a subquery.


4. Subqueries that return more than one row can only be used with multiple value operators such as the IN operator.


5. The SELECT list cannot include any references to values that evaluate to a BLOB, ARRAY, CLOB, or NCLOB.


6. A subquery cannot be immediately enclosed in a set function.


7. The BETWEEN operator cannot be used with a subquery. However, the BETWEEN operator can be used within the subquery.

Report Error

View answer Workspace Report Error Discuss

0 2474
Q:

Is the address bus unidirectional?

Answer

The address bus is unidirectional because the address information is always given by the micro processoe  to address a memory location of an input / output devices.

Report Error

View answer Workspace Report Error Discuss

Subject: Hardware

0 2473
Q:

Which sport has been included in 2022 Asian Games?

A) Kabaddi B) Cricket
C) Chess D) Carroms
 
Answer & Explanation Answer: B) Cricket

Explanation:

Cricket has been included in 2022 Asian Games. The Asian Games, also known as Asiad, is a multi-sport event held every four years among athletes from all over Asia. In 2022, Asian Games are going to be hosted by China. The first Asian Games are hels in the year 1951 in New Delhi.

Report Error

View Answer Report Error Discuss

Filed Under: Sports
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

4 2472
Q:

Plants that are more rare today are

A) Hydrophytes B) Xerophytes
C) Mesophytes D) None of the above
 
Answer & Explanation Answer: A) Hydrophytes

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: General Science
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

2 2472
Q:

Burning the candle at both ends meaning

A) To consume a lot B) To overwork
C) To overtake D) None of the above
 
Answer & Explanation Answer: B) To overwork

Explanation:

Burning the candle at both ends meaning is to overwork starting early in the morning and staying till late nights.

Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: AIEEE , Bank Exams , CAT , GATE
Job Role: Analyst , Bank Clerk , Bank PO

0 2472
Q:

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.


Kunal said, "Tanu is coming this week."

A) Kunal says that Tanu was coming that week. B) Kunal says that Tanu was coming this week.
C) Kunal said that Tanu was going to be come this week. D) Kunal said that Tanu was coming that week.
 
Answer & Explanation Answer: D) Kunal said that Tanu was coming that week.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: English
Exam Prep: AIEEE , Bank Exams , CAT

0 2471
Q:

What are the roles of glass-box and black-box testing tools?

Answer

Glass Box (or white box) testing is the process of giving i/p to the system and checking how the system processes i/p to generate o/p


Black Box testing is the process of giving i/p to the system and checking if the system is giving correct o/p without bothering how the o/p is generated.


As we can see from the definitions, the role of black box testing is to ensure that the o/p generated is correct. And role of white box testing is to ensure that methods used to generate the o/p are correct.

Report Error

View answer Workspace Report Error Discuss

Subject: Software Testing

0 2471