
Seminar 2

Quiz
•
Computers
•
University
•
Medium
Микола Трохимович
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the MIPS assembly equivalent for the C declaration char greeting[6] = {'H', 'e', 'l', 'l', 'o', '\0'};?
greeting: .asciiz "Hello"
greeting: .char 'H','e','l','l','o',0
greeting : .byte ’H’,’e’,’l’,’l’,’o’,’\0’
greeting: .space 6
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the MIPS assembly equivalent for the C declaration char my_string[] = "I’m the string?
str: .asciiz "I’m the string"
str: .word 'I','’','m',' ','t','h','e',' ','s','t','r','i','n','g',0
str: .byte "I’m the string"
str: .space 14
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the MIPS assembly equivalent for the C declaration int vector_1 [10];?
vector_1 : .data 10
vector_1 : .space 40
vector_1 : .word 10
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the purpose of the following MIPS assembly instructions?
Compute the product of $t3 and $t4, storing the result in $t5.
Multiply the values in $t3 and $t4 and store the lower 32 bits of the result in $t5
Add the values in $t3 and $t4 and store the result in $t5
Divide the values in $t3 and $t4, storing the quotient in $t5
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the purpose of the following MIPS assembly instructions?
Divide the values in $t5 and $t4, storing the quotient in $t6 and the remainder in $t2.
Multiply the values in $t5 and $t4, storing the lower 32 bits of the result in $t6 and the upper 32 bits in $t2.
Divide the values in $t4 and $t5, storing the quotient in $t6 and the remainder in $t2.
Multiply the values in $t4 and $t5, storing the lower 32 bits of the result in $t6 and the upper 32 bits in $t2.
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Make 0x2 ⊕ 0x5 (where ⊕ stands for exclusive-or)
0111
0110
0100
0000
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Indicate what will be the hexadecimal value of the bytes stored in the memory addresses (hexadecimal) 0x10010004?
@0x10010004: 0x09
@0x10010004: 0x-7
@0x10010004: 0xF9
@0x10010004: 0x02
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
sample test

Quiz
•
University
12 questions
Mediapad

Quiz
•
University
9 questions
Programa Organización de Computadoras 2021

Quiz
•
University
10 questions
Juan Francisco García Hinojosa_Curso

Quiz
•
University
10 questions
coa week 2

Quiz
•
University
10 questions
計組計結第二章(效能篇)

Quiz
•
KG - Professional Dev...
10 questions
Data Structure Recap PART1

Quiz
•
University
8 questions
Com Sci vs ICT vs IT

Quiz
•
6th Grade - Professio...
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade