FT-1 Assessment

FT-1 Assessment

University

40 Qs

quiz-placeholder

Similar activities

FT1_VLSI

FT1_VLSI

University

40 Qs

FT-1 Assessment

FT-1 Assessment

Assessment

Quiz

Engineering

University

Easy

Created by

Sarada V

Used 1+ times

FREE Resource

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What will be printed by the following code? module test; reg [3:0] a = 4'b1101; initial $display("%b", a >> 1); endmodule
1101
110
1011
11

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In Verilog, what is the output of this code? assign y = ~(4'b1010 & 4'b1100);
4'b0101
4'b0011
4'b1111
4'b0110

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Consider: always @(*) begin a = 1; b = a + 2; end — What is the value of `b` after execution?
1
2
3
4

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following code correctly describes a 2-to-1 MUX in behavioral modeling?
assign y = s ? d1 : d0;
always @(s or d1 or d0) y = s ? d1 : d0;
always @(posedge clk) y <= d1;
y = s ? d1 : d0;

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the output of: `assign y = ^4'b1101;
1
0
x
z

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In the code: reg [3:0] a = 4'b1001; initial a = a << 1; what is `a` after execution?
1001
10
1010
100

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

For `assign y = {2{2'b10}}; , what is `y`?
1010
101010
10101010
10

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?