Seminar 2

Seminar 2

University

10 Qs

quiz-placeholder

Similar activities

QUIZ GAME

QUIZ GAME

University

10 Qs

computer Networks

computer Networks

University

10 Qs

Excel Bezüge und Funktionen - SUMME, MAX, MIN, MITTELWERT

Excel Bezüge und Funktionen - SUMME, MAX, MIN, MITTELWERT

University

14 Qs

Scratch

Scratch

KG - Professional Development

10 Qs

DCN5511: Chapter 5 - 7

DCN5511: Chapter 5 - 7

University

15 Qs

Structured/Traditional SDM

Structured/Traditional SDM

University

9 Qs

Process modeling

Process modeling

University

10 Qs

 QUIZ  MS Core Java Quiz-3 2023

QUIZ MS Core Java Quiz-3 2023

University

11 Qs

Seminar 2

Seminar 2

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Микола Трохимович

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

int vector_1 [10];

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

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

Media Image

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

Media Image

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

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?