Week 1 Assignment 1 with solution final
Week 1 Assignment 1 with solution final
Week 1 Assignment -1
Qns 1: What is the geometrical level synthesis?
a. Schematic gate level netlist to Layout
b. RTL to Layout
c. HDL to schematic gate level netlist
d. RTL to schematic gate level netlist
Ans: (b)
The time complexity can be calculated by counting the number of times the expression
"count = count + 1;" is executed. The expression is executed 0 + 1 + 2 + 3 + 4 + .... + (n-
1) times.
Time complexity = Θ(0 + 1 + 2 + 3 + .. + n-1) = Θ (n*(n-1)/2) = Θ(n2)
Qns 3: In the following table, the left column contains the names of standard algorithms
and the right column contains the time complexities of the algorithms. Match each
algorithm with its time complexity.
a. 1→ B, 2 → A, 3 → D, 4 → C
b. 1→ D, 2 → B, 3 → C, 4 → A
c. 1→ D, 2 → B, 3 → A, 4 → C
d. 1→ B, 2 → A, 3 → C, 4 → D
Qns 4: Heuristic algorithms are generally used for which kind of problem?
a. P
b. NP
c. NP-complete
d. NP-hard
Ans: (b, c)
Standard Cell Design uses predefined rectangular cells of the same height.
Qns 6: Using Dijkstra's algorithm, find the shortest distance from ‘s’ to ‘x’ in the
following graph.
a. 8
b. 9
c. 11
d. 14
Ans: (b)
The shortest distance from s to x is 9.
Qns 7: The following graph was given as input to the BFS algorithm, and the starting
node is s. How many levels are possible in the BFS tree of the given graph?
a. 2
b. 3
c. 4
d. 5
Answer: 4
Qns 8: Consider the following graph with edge weights indicated on the edges. Which of
the following is/are the Minimum Spanning Tree/s(MST) of the given graph?
a.
b.
c.
d.
Answer: (a, c)
MST generated using Kruskal’s algorithm.
We can generate similar MST by connecting nodes b and c instead of a and h. It
generates the following MST.
Qns 9: Which of the following is/are true regarding VLSI design styles?
a. Standard cell design occupies less chip area than a full-custom design style.
b. An uncommitted gate array is a prefabricated chip where routing layers are added
on top in a fabrication facility.
c. FPGAs are the pre-diffused type of gate array-based design style.
d. In the macro cell-based design style, all macro cells must have the same height.
Answer: (b)
Qns 10: Consider the following arrangement of lines.
The number of edges in the interval graph of the given arrangement of lines is ___.
a. 11
b. 10
c. 9
d. 12
Answer: 10
The interval graph is the union of the Overlap and Containment graphs. The Overlap,
Containment, and interval graphs of the given arrangement of lines are given below.