MCQOPTIONS
Bookmark
Saved Bookmarks
→
C Sharp Programming
→
Generics
→
GENERIC (n : INTEGER := 8); In this statement, th...
1.
GENERIC (n : INTEGER := 8); In this statement, the mode of generic ‘n’ is _______
A.
Integer
B.
Real
C.
Generic
D.
No Mode
Answer» E.
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
For the code snippet given below, which of the following statements are valid? public class MyContainer where T: class, IComparable { //Insert code here }Class MyContainer requires that it's type argument must implement IComparable interface. Compiler will report an error for this block of code. There are multiple constraints on type argument to MyContainer class. Class MyContainer requires that its type argument must be a reference type and it must implement IComparable interface.
For the code snippet given below, which of the following statements are valid? public class MyContainer where T: IComparabte { // Insert code here }Class MyContainer requires that it's type argument must implement IComparabte interface. Type argument of class MyContainer must be IComparabte. Compiler will report an error for this block of code. This requirement on type argument is called as constraint.
Which of the following can be used as a generic in a complex digital design with many inputs and two outputs?
Generics in VHDL can be treated as _______
Which function is used to map a generic on design?
GENERIC (n : INTEGER := 8); In this statement, the mode of generic ‘n’ is _______
In most synthesis tools, only generics of type ________ are supported.
A generic can’t be declared in a component declaration.
Which of the following is true about Generics?
More than one generic parameter can be defined in a single entity.
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies