Answer:
Code is given below:
Explanation:
.data
str1: .space 20
str2: .space 20
msg1:.asciiz "Please enter string (max 20 characters): "
msg2: .asciiz "\n Please enter string (max 20 chars): "
msg3:.asciiz "\nSAME"
msg4:.asciiz "\nNOT SAME"
.text
.globl main
main:
li $v0,4 #loads msg1
la $a0,msg1
syscall
li $v0,8
la $a0,str1
addi $a1,$zero,20
syscall #got string to manipulate
li $v0,4 #loads msg2
la $a0,msg2
syscall
li $v0,8
la $a0,str2
addi $a1,$zero,20
syscall #got string
la $a0,str1 #pass address of str1
la $a1,str2 #pass address of str2
jal methodComp #call methodComp
beq $v0,$zero,ok #check result
li $v0,4
la $a0,msg4
syscall
j exit
ok:
li $v0,4
la $a0,msg3
syscall
exit:
li $v0,10
syscall
methodComp:
add $t0,$zero,$zero
add $t1,$zero,$a0
add $t2,$zero,$a1
loop:
lb $t3($t1) #load a byte from each string
lb $t4($t2)
beqz $t3,checkt2 #str1 end
beqz $t4,missmatch
slt $t5,$t3,$t4 #compare two bytes
bnez $t5,missmatch
addi $t1,$t1,1 #t1 points to the next byte of str1
addi $t2,$t2,1
j loop
missmatch:
addi $v0,$zero,1
j endfunction
checkt2:
bnez $t4,missmatch
add $v0,$zero,$zero
endfunction:
jr $ra
Answer:
Option D, Ground Wire
Explanation:
Oleg is a mustimeter or multi tester or a basic voltage tester which is used to test the ground. The main purpose of the tester is to ensure that the outlet is connected to the ground of the circuit, thereby ensuring its proper functioning.
Hence, option D is correct
Both the technicians are correct.
Explanation
Intake air temperature sensor is used in engines of vehicles to monitor the temperature of air entering the engine.
They are basically made of thermistors whose electrical resistance changes according to temperature.
Depending upon the reading and accuracy of intake air temperature sensor, the power-train control module (PCM) will decide about the air and fuel mixture ratio in the engine.
The hot air in engine requires less fuel to operate the engine parts while cold air requires more fuel to operate the engine.
The ratio of air and fuel mixture should be maintained in the engine and it is done by PCM only after getting the input from IAT. So technician B is saying correct.
Also the IAT works as a backup to support the engine coolant temperature sensor by the computer.
As the IAT checks the temperature of outside air, it will help to change the coolant temperature of the engine based on the environment.
Thus technician A is also correct. So both the technicians are correct.
Where is Eq.(28) ?? You should show it to find the result
Answer:
to make the bace of a building more sturdy
Explanation:
example: the bace of the empire state building is stone very sturdy