Answer:
- output = ""
- for i in range(7):
- if(i % 3 == 0):
- for i in range(5):
- output+= "*"
- output += "\n"
- else:
- for i in range(2):
- output += "* "
- output += "\n"
-
- print(output)
Explanation:
The solution code is written in Python 3.
Firstly, create a output variable that holds an empty string (Line 1).
Create an outer loop that will loop over 7 times to print seven rows of stars (Line 2). In row 0, 3 and 6 (which are divisible by 3) will accumulate up to 5 stars using an inner loop (Line 4-5) whereas the rest of the row will only print two stars with each start followed by a single space (Line 8-9) using another inner loop.
At last, print the output (Line 12).
Real-Time Operating System –
These types of OSs serves the real-time systems. The time interval required to process and respond to inputs is very small. This time interval is called response time.
Real-time systems are used when there are time requirements are very strict like missile systems, air traffic control systems, robots etc.
https://www.geeksforgeeks.org/operating-system-types-operating-systems-awaiting-author/
Answer: Macintosh start January 24, 1984
Windows start November 20, 1985
Linux start October 5, 1991
Step 1. Click the address bar at the top of your Google Chrome window, type "About: cache" into the box and press "Enter." A page will appear with a list of cached files and their addresses.
Step 2. Press the "Ctrl" and "F" keys on your keyboard at the same time to open the find bar.
Step 3. Type part of the name or address of a cached file into the find box and press "Enter" to find it. Continue pressing "Enter" to page through any matching results.
Step 4. Select the full address of the cached file on the page with your mouse and press "Ctrl" and "C" at the same time to copy the address.
Step 5. Click the address bar, press "Ctrl" and "V" at the same time to paste the address and press "Enter" to load the file. Chrome loads the file from the cache.
Step 6. Right-click the image, page or script and select "Save As" to save the cached file to your computer.
Answer: b
The computer virus is simply a ___
b. Set of computer instructions or code