Question
What was the day of the week on ‘2nd March
2018’?Solution
Date: 2nd March 2018
Steps to find the day of the week:
Total = (18 + 4 + 4 + 2) = 28
And 28 ÷ 7, we get 0 as remainder.
Note:
Year < 2000 – leave the remainder as it is
Year > 2000 – subtract 1 from the remainder.
0 is the code for Saturday and one day behind Saturday is Friday.
Which heuristic search strategy uses both cost so far and estimated cost to goal?
The transfer function of the system below is ___________
You are designing a system where multiple threads need to access and modify a shared counter variable. What is a critical concern you must address to en...
What is Computer Output Microfilm (COM) primarily used for in data management and archival systems?
Which of the following is a common challenge in transitioning from a monolithic to a microservices architecture?
Predict the output
list1 = ['physics', 'chemistry', 1997, 2000]
list2 = [1, 2, 3, 4, 5, 6, 7 ]
print "list1[0]: ", list1[0] ...
To exit from a loop in shell we can use?
In object-oriented programming, when defining an interface method, which of the following statements is true regarding method parameters?
Attributes of a file can be :
When performing matrix multiplication (C = A \times B) in a code flow, if matrix A is m \times n and matrix B is n \times p, what is the time complexity...