• 2022-07-28
    在一个VHDL设计中,S是一个信号,数据类型为 std_logic_vector,下面哪些赋值语句是正确的?
    A: S<=B"00111011";
    B: S<="00111011";
    C: S<=X"3B";
    D: S<=16"3B";
  • A,B,C,D

    举一反三

    内容

    • 0

      下面语句中,正确的是( )。 A: printf(&quot;%c &quot;,&quot;student&quot;); B: printf(&quot;%c &quot;,&quot;c&quot;); C: printf(&quot;%s &quot;,&amp;a); D: printf(&quot;%s &quot;,&quot;hello&quot;);

    • 1

      定义名为“学号”的属性,该属性的类型为“string”,该属性在XML中必须出现,下面正确的选项是( )。 A: &lt;!attribute name=&quot;学号&quot; type=&quot;string&quot; use=&quot;required&quot; /&gt; B: &lt;attribute name=&quot;学号&quot; type=&quot;string&quot; use=&quot;prohibited&quot; /&gt; C: &lt;attribute name=&quot;学号&quot; type=&quot;string&quot; use=&quot;required&quot; /&gt; D: &lt;attribute name=&quot;学号&quot; type=&quot;string&quot; use=&quot;optional&quot; /&gt;

    • 2

      <p>若要使表格的行高为16pt,以下方法中,正确的是( )。</p> A: &lt;table border=&quot;1&quot; line-height=”16pt&quot;&gt;…&lt;/table&gt; B: &lt;table border=&quot;1&quot; style=&quot;line-height:16&quot;&gt;…&lt;/table&gt; C: &lt;table border=&quot;1&quot; style=&quot;line-height:16pt&quot;&gt;…&lt;/table&gt; D: &lt;table border=&quot;1&quot; style=&quot;height:16pt&quot;&gt;…&lt;/table&gt;

    • 3

      在HTML文件中导入一个样式表的正确语法为___________ A: &lt;link src=&quot;c.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;&gt; B: &lt;input href=&quot;c.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;&gt; C: &lt;import href=&quot;c.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;&gt; D: &lt;link href=&quot;c.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;&gt;

    • 4

      下面哪种写法可以链接到百度网页? A: &lt;a href=&quot;百度&quot;&gt;百度&lt;/a&gt; B: &lt;a href=&quot;baidu.com&quot; target=&quot;new&quot;&gt;百度&lt;/a&gt; C: &lt;a href=&quot;http://baidu.com&quot; target=&quot;new&quot;&gt;百度&lt;/a&gt; D: &lt;a href=&quot;hhtp://www.baidu.com&quot; target=&quot;new&quot;&gt;百度&lt;/a&gt;