Answer:
class Db_test(models.Model):
name = models.CharField(max_length=50)
comment = models.CharField(max_length=200)
created = models.DateField(auto_now_add=True)
modified = models.DateField(auto_now=True)
class Meta:
db_table = "db_test"
Explanation:
<u>Swap files </u>contain(s) remnants of word processing documents, e-mails, Internet browsing activity, database entries, and almost any other work that has occurred during past Windows sessions.
Explanation:
I order to simulate extra space an operating system like windows use hard disk space in order to stimulate extra memory.When a computer system is running low with the memory space the swap file swaps a section of RAM onto the hard disk in order to obtain a free memory space.
This Process at times results in slowing down of the computer computer considerably.
<u>The combination of RAM and swap files is known as virtual memory.</u>
It is due to the use of virtual memory that our computer is able to run more programs than it could run in RAM alone.
Answer:
import java.util.*;
class Main
{
public static void main(String[] args)
{
System.out.println("Enter integers and 0 to exit");
Scanner a1=new Scanner(System.in);
System.out.println(add(a1));
}
public static int add(Scanner a1)
{
int total = a1.nextInt();
if (a1.hasNextInt())
{
total =total +add(a1);
}
return total;
}
}
Explanation:
The only thing that needs explanation here is hasnextInt. This returns true if entered number is integer and false if entered is not an integer. And rest is as shown in the program.
Answer:
Virtualization is the process which refers to the isolating the various computing resources that basically run without depend on the particular platform in the environment.
The virtualization basically allow the various application like software and hardware that mainly used to connect different types of server and storage applications.
The virtualization impact while designing the program is that it helps in the program execution process and also reducing the impact by using the hardware virtualization support in the system. The thread system also maintain the virtualization impact while designing.