I'm almost certain it's D. I hope I'm right
Answer:
The gates required to build a half adder are :
- AND Gate for Carry.
- XOR Gate for Sum
Explanation:
AND Gate is required for the carry and the XOR gate is required for the sum.
The figures for the gates and the truth tables for the half adder are attached so please refer them for further explanation.
The sum is 1 when one of the input is High or 1 if both the inputs are same then the sum is 0.So this behavior is implemented by X-OR gate.
The carry is High only when both of the inputs are 1.This is implemented by AND-Gate.
```
#!/usr/local/bin/python3
import sys
def print_factorial( user_val ):
if( user_val < 1 ):
return( 1 )
else:
return( print_factorial( user_val - 1 ) * user_val )
if( __name__ == "__main__" ):
if( len( sys.argv ) == 2 ):
print( print_factorial( int ( sys.argv[ 1 ] ) ) )
else:
sys.stderr.write( "usage: %s <integer>\n" % sys.argv[ 0 ] )
exit( 0 )
```
Answer:
am not really sure but between TCP/IP and data link am sorry for not being precise .
Answer:
The answer is "option d".
Explanation:
UML stands for Unified Modeling Language. It is an OOPs based language that is used to design a graphic by software developers. This language can also be used to build diagrams and provide some tools to ready-to-use, interactive templates for users and other options are not correct that can be described as:
- In option a, The Top-down approach is not followed by UML.
- In option b, UML uses an object-oriented programming language that follows a bottom-up approach. It refers to a style of programming.
- In option c, It does not use structured programming because it uses procedural languages.