The shell that is used by default in Linux is the Bash shell.
Answer:
sectors
Explanation:
hard disk contain tracks which are further divided into sectors, for storage purposes.
Answer:
Console.WriteLine("Format Double: {0:n3}", num); //formatting output with 3 digit decimal point
Explanation:
Following are the program in c#
using System; // namespace
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Tasks
{
class Program
2 // program2
{
static void Main(string[] args) // Main function
{
double num = 958254.73789621; // variables
Console.WriteLine("Format Double: {0:n3}", num); //formatting output with 3 digit decimal point
Console.Read();
}
}
}
Output:
Format Double : 958254.737
Here we have declared a variable num of type double which store the value num=958254.73789621. To do format with the double number i used a syntax {0:n3}. This syntax {0:n3}is separated with :(colon) here 0 represent the value before the decimal point that is 958254 and n3 represent the value upto 3 decimal points. Hence this statement give the output with three digit after the decimal point .
Answer:
this:name = 'John'
print("Is name == 'John'? I predict True.")
print(name == 'John')
print("\nIs name == 'Joy'? I predict False.")
print(car == 'Joy')
this:age = '28'
print("Is age == '28'? I predict True.")
print(age == '28')
print("\nIs age == '27'? I predict False.")
print(age == '27')
this:sex = 'Male'
print("Is sex == 'Female'? I predict True.")
print(sex == 'Female')
print("\nIs sex == 'Female'? I predict False.")
print(sex == 'Joy')
this:level = 'College'
print("Is level == 'High School'? I predict True.")
print(level == 'High School')
print("\nIs level == 'College'? I predict False.")
print(age == 'College')
Conditions 1 and 2 test for name and age
Both conditions are true
Hence, true values are returned
Conditions 3 and 4 tests for sex and level
Both conditions are false
Hence, false values are returned.
In think is C or B in my opinion