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 of the following is a function of Earth's atmosphere?

A) supplies the oxygen and water for life B) screens out much of the Sun's ultraviolet radiation
C) insulates the surface against temperature extremes D) All of the above
 
Answer & Explanation Answer: D) All of the above

Explanation:

Here all the options given are important functions of Earth's atmosphere.

Report Error

View Answer Report Error Discuss

2 2473
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:

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:

What is XPath?

Answer

XPath is an expressions to select a xml node in an XML document.


It allows the navigation on the XML document to the straight to the element where we need to reach and access the attributes.


 

Report Error

View answer Workspace Report Error Discuss

1 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