<span>The newest android os is:
Android 7.0 Nougat
</span>
Answer:
Commands: commands are also known as "programs" and the program is a set of rules that performs a specific task which is executed by a computer.
Unix is an operating system. that supports multi-tasking and multi-user functionality. Unix is most widely used in all forms of computing systems such as desktop, laptop, and servers. It provides a Graphical user interface similar to windows.
The Unix operating system there are various commands. The list of five Unix commands can be given as:
1) cal
2) date
3) banner
4) who
5) whoami
1)cal:
The cal command stands for calender. It displays the date.
Syntax:
$ cal
or
$ cal [[month] year]
Example:
$ cal 10 2019
2)date:
The date command stands for date and time. It displays the system date and time.
Syntax:
$date
or
$ date[+format]
Example:
$ date +%d/%m/%y
3) banner
The banner command stands for display the text in to a large size.
Syntax:
$banner message
Example:
$banner Unix
4) who
The who command stands for display the list of users currently logged in.
Syntax:
$who
or
$who [option] … [file][arg1]
Example:
$who
5) whoami
The whoami command stands for display the user id of the currently logged-in user.
Syntax:
$whoami
Example:
$whoami
Explanation:
1)cal command display the current month and year.
2)date command display system date and time.
3)banner command display text in large size.
4)who command display the user name who currently login.
5)whoami command display user id.
Answer:
The program is written using PYTHON SCRIPT below;
N=int(input(" Enter number of Rows you want:"))
M=[] # this for storing the matrix
for i in range(N):
l=list(map(int,input("Enter the "+str(i+1)+" Row :").split()))
M.append(l)
print("The 2D Matrix is:\n")
for i in range(N):
print(end="\t")
print(M[i])
W=[] # to store the first non zero elemnt index
T=[] # to store that value is positive or negative
L=len(M[0])
for i in range(N):
for j in range(L):
if (M[i][j]==0):
continue
else:
W.append(j) # If the value is non zero append that postion to position list(W)
if(M[i][j]>0): #For checking it is positive or negative
T.append(+1)
else:
T.append(-1)
break
print()
print("The first Non Zero element List [W] : ",end="")
print(W)
print("Positive or Negative List [T] : ",end="")
print(T)
Explanation:
In order for the program to determine a set of test cases it takes in input of 2D matrix in an N numbet of rows.
It goes ahead to program and find the column index of the first non-zero value for each row in the matrix A, and also determines if that non-zero value is positive or negative. The If - Else conditions are met accordingly in running the program.
#include <stdio.h> //stdio stands for STanDard Input/Output