Answer:
256 :-) :-) :-) :-) :-) :-) :-!
CLS
INPUT "Enter the first number"; a
INPUT "Enter the second number"; b
m = a
n = b
WHILE a <> 0
r = b MOD a
b = a
a = r
WEND
l = (m * n) / b
PRINT "HCF is "; b
PRINT "LCM is "; l
Answer:
Option (c) Remote code exploits aim to escalate attackers’ privileges, while XSS attacks aim to gain access only
Explanation:
- XSS stands for Cross-site Scripting. In this types of attacks, a malicious code is injected in the trusted web sites and it sends the malicious code into the users. The users think that the genuine code was sent but not.
- This involves sending server side scripts which are executed by the user and these may even change the html pages too.
- Remote code exploitation means the user can inject the code and try to gain access. Usually, all the programming languages have evaluation functions if used the user can try to gain the access with this evaluation functions.
- This can lead to the compromise of the whole web server too.So, it is not a good practice to use the evaluation functions by the developers.
- In this type of attack, the attacker tries to inject the code remotely.
- Option (c) is correct and options (a),(b) and (d) are wrong options.
The (main) function of the "network media" is the "<span> to transmit signals from device to device" because by doing this and allowing this to happen, this the signals would also send messages, and by this, it would then also be known as social media, and by this, it would be able to send pictures, text, and etc. This would be the point of the "network media".</span>
Answer:
import turtle
my_turtle = turtle.Turtle()
my_turtle.speed(0)
my_turtle.pendown()
colours = ["yellow", "blue", "red", "orange", "cyan", "pink", "green", "brown"]
for sides in range(8):
my_turtle.pencolor(colours[sides])
my_turtle.forward(100)
my_turtle.left(45)
Explanation:
- The pencolor statement must be inserted before the forward() call otherwise you have no control over the color of the first line.
- You don't need the count variable, since the 'sides' variable is a perfect counter to index the colours array.