Search Header Logo

FT-1 Assessment

Authored by Sarada V

Engineering

University

Used 1+ times

FT-1 Assessment
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?