1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
My name is Ann [436]
3 years ago
11

What are some strategies that you can use when you debug a program?

Computers and Technology
1 answer:
mote1985 [20]3 years ago
5 0

Answer:

Incremental and bottom-up program development.

Instrument program

Binary search.

Problem simplification.

Explanation:

You might be interested in
4-Translate the following C program to MIPS assembly program (Please explain each instruction in your code by a comment and subm
earnstyle [38]

Answer:

.data

str1: .asciiz "Hello"

str2: .asciiz "mars"

msg: .asciiz "String after the concatenate: "

.text

main:

#load the address str1 to $a0

la $a0,str1

#initialize $t0 with 0

li $t0,0

#loop to find the length of str1

#$t0 stores the length of str1

loop1:

#load byte of $a0 to $t1

lb $t1,0($a0)

#branch for equal.If $t1 equal to 0,jump to label stop1

beq $t1,0,stop1

addi $t0,$t0,1 #increase the count

addi $a0,$a0,1 #increase the address

#jump to label loop1

j loop1

stop1:

#load the address of str2 to $a1

la $a1,str2

#loop2 concatenate the each element in str2 to str1

loop2:

lb $t2,0($a1) #load character in str2 to $t2

sb $t2,0($a0) #store value in $t2 to str1

beq $t2,0,stop2

addi $a1,$a1,1 #increase the address of str2

addi $a0,$a0,1 #increase the address of str1

j loop2

stop2:

#syscall for print string is $v0 = 4

#syscall to termiante the program is $v0 = 10

#print the message

li $v0, 4

la $a0, msg

syscall

#print the concatenated string

li $v0,4

la $a0,str1

syscall

#termiante the program

li $v0, 10

syscall

Explanation:

3 0
3 years ago
What lets you change the order of events in a game?
IRISSAK [1]
B the story board editor.
8 0
3 years ago
Program kalkulator menggunakan bahasa pascal dan pake dua statemen
Hunter-Best [27]
What language is this???  Could you ask in English?
4 0
3 years ago
The Lisp function LENGTH counts the number of elements in the top level of a list. Write a function ALL-LENGTH of one argument t
Novosadov [1.4K]

Answer:

bc

Explanation:

5 0
3 years ago
Atleast 5 (five) NEW INVENTED electrical measuring tools and instruments with their function/uses/meaning .
rewona [7]

Answer:

Kill-A-Watt electrical input detector.

Explanation:

It tells you how much electricity is being sucked from your walls.

8 0
3 years ago
Other questions:
  • Cell B10 contains a date, such as 9/1/2014. Which formula determines how many days have passed between that date and the current
    5·2 answers
  • Abram was asked to explain to one of his coworkers the XOR cipher. He showed his coworker an example of adding two bits, 1 and 1
    5·1 answer
  • 2(x-5)-3(3-x)=1/2(x-2)
    9·1 answer
  • Seth is considering advertising his business using paid search results.What do you think makes paid search advertising so effect
    11·2 answers
  • Technician A states that a tap handle has a right-angled jaw that matches the squared end that all taps have. Technician B state
    5·1 answer
  • Please help i will give brainiest. Plus 30 points
    9·1 answer
  • A job placement agency helps match job seekers with potential employers. The agency
    13·1 answer
  • Need help with my cs110​
    11·1 answer
  • Martha pays $3,335 every month for her house payment. She has made 86 payments up till now. How much has Martha paid for her hou
    15·1 answer
  • _______ are useful when you want the user to select one choice from several possible choices. Radio buttons Check boxes Buttons
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!