Answer:
8
12
Explanation:
I made the code a bit easier to understand then worked out how it would go. Here's what I did.
number = 4
repeat until number = 8:
write 2 * number
number = number + 2
Following this itenary, we have, the system first writes "8" as it multipled 4 by 2. Number is now equal to 6.
Next repetition, the system writes "12" as it multipled 6 by 2. Now, number = 8. The proccess now stops as number is now equal to 8.
Answer:
a.The server's IP address or hostname.
d.The port number for the application on that server
Explanation:
We can point out that a socket is a tool which contains or which comprises of a pair of value.
Also a socket is an end point which identifies each other. In this case the client connecting to the server.
From the options a and d meets the criteria.
Answer:
import java.util.ArrayList;
import java.util.Collections;
class Bulgarian
{
public static void main(String[] args)
{
max_cards=45;
arr->new ArraryList
col=1;
card=0;
left=max_cards;
do{
col->random number
row->new ArrayList;
for i=0 to i<col
{
card++
add card into row
}
add row into arr
left=max_cards-card;
}while(card<max_cards);
finish->false
while(!finish)
{
for i=0 to arr.size()
remove one card from each row
add row into arr
size->new ArrayList;
for i=0 to i<arr.size()
add arr[i] into size
sort(size)
for i=1 to size.size()
if ith element is equals to (i-1)+1
finish->true
else
finish->false
for i=0 to i<arr.size()
print->arr elements
}
}
}
Answer:
The answer is "Option A".
Explanation:
This architecture is built upon an app feedback design model for sequential and concurrent systems, which is also known as an innovation for parallel programming, It also uses the networks for communication, and another option is not correct, that can be described as follows:
- Option B and Option C both are wrong because they can't produce structures and receives its data.
- In option D, It is wrong, because it can't publish the menus.