Answer:
Output:
123456
123456
123456
123456
123456
123456
Explanation:
C Code:
#include <stdio.h>
int main() {
int n,i,j;
printf("Gimme a decimal value to use as n:");
scanf("%d",&n);
for(i=0;i<n;i++){
for(j=1;j<=n;j++){
printf("%d",j);
}
printf("\n");
}
return 0;
}
Equivalent assembly program:
.LC0:
.string "Gimme a decimal value to use as n:"
.LC1:
.string "%d"
main:
push rbp
mov rbp, rsp
sub rsp, 16
mov edi, OFFSET FLAT:.LC0
mov eax, 0
call printf
lea rax, [rbp-12]
mov rsi, rax
mov edi, OFFSET FLAT:.LC1
mov eax, 0
call scanf
mov DWORD PTR [rbp-4], 0
.L5:
mov eax, DWORD PTR [rbp-12]
cmp DWORD PTR [rbp-4], eax
jge .L2
mov DWORD PTR [rbp-8], 1
.L4:
mov eax, DWORD PTR [rbp-12]
cmp DWORD PTR [rbp-8], eax
jg .L3
mov eax, DWORD PTR [rbp-8]
mov esi, eax
mov edi, OFFSET FLAT:.LC1
mov eax, 0
call printf
add DWORD PTR [rbp-8], 1
jmp .L4
.L3:
mov edi, 10
call putchar
add DWORD PTR [rbp-4], 1
jmp .L5
.L2:
mov eax, 0
leave
ret
Input:
6
The program was first written with a c code, anf and subsequently translated to an assembly language.
Answer:
utilities
Explanation:
the other 3 are Cs programs
He experienced phishing
Phishing is a method of trying to gather personal information using deceptive e-mails and websites.
Here are some measures to avoid phishing. You can pick up the one you liked the most
- Always check the spelling of the URLs in email links before you click or enter sensitive information
- Watch out for URL redirects, where you're subtly sent to a different website with identical design
- If you receive an email from a source you know but it seems suspicious, contact that source with a new email, rather than just hitting reply.
- Don't post personal data, like your birthday, vacation plans, or your address or phone number, publicly on social media
Servers is the general classes of computers designed for medical, engineering, or animation and graphics design uses are optimized for visualization and rendering of three-dimensional models, and typically have fast processors, large memory, and advanced video cards.
D) servers
<u>Explanation:</u>
Better to use servers, where it can handle multiple tasks since it has enough multiple microprocessors.
Normal PC memory is little slow then server memory. In case slow processing the graphics or animation end user can include memory cards in servers. Good advanced video graphics card be insert to the server slot for better performance. Good advance video graphics has also extra memory to process the graphics animation.
Normally personal computers also be achieved but it has own limitation. Simple animation can be achieved by personal computers.