Computer Programming Theory.

Added on - 28 Jul 2021

  • 8

    Pages

  • 366

    Words

  • 679

    Views

  • 0

    Downloads

Trusted by +2 million users,
1000+ happy students everyday
Showing pages 1 to 3 of 8 pages
Computer Programming Theory
spring 2021
Submitted by:ADNAN AYAZ
Registration No.:20PWCSE1860
Class Section:A
“On my honor, as student of University of Engineering and Technology, I have neither given
nor received unauthorized assistance on this academic work.”
Student Signature: ______________
Submitted to:
SIR ATHAR SETHI
JULY 11, 2021
Department of Computer Systems Engineering
University of Engineering and Technology, Peshawar
Assignment 1
Implement 8 x 1 Digital Multiplexer (MUX), 8 x 1 MUX has eight input lines, one output
line
and three select lines. The select lines are used to select any one of eight inputs.
Select lines Output
S2S1S0output
000I0
001I1
010I2
011I3
100I4
101I5
110I6
111I7
1-Implement 8X1 Multiplexer using if-else structure.
2-Implement 8X1 Multiplexer using conditional operator.
CODING:
OUTPUT:

2)Using CONDITIONAL STATEMENTS:
desklib-logo
You’re reading a preview
Preview Documents

To View Complete Document

Click the button to download
Subscribe to our plans

Download This Document