Which of the following syntax is wrong?
Select one:
bar([1,3,5,7,9],[2,4,6,8,10], label = “Sample 1”, color = ‘b’)
pie(obs, explode = explode_sample, labels = variables, colors = colors, autopct = 1.1f)
scatter(x,y,c = “b”, mark = “^”, alpha = 0.5)
loglog(x, y, basex = e, basey = e)
Answers
Answer:
Which of the following syntax is wrong?
Select one:
loglog(x, y, basex = e, basey = e)
bar([1,3,5,7,9],[2,4,6,8,10], label = “Sample 1”, color = ‘b’)
scatter(x,y,c = “b”, mark = “^”, alpha = 0.5)
pie(obs, explode = explode_sample, labels = variables, colors = colors, autopct = 1.1f)
Answer:
pie(obs, explode = explode_sample, labels = variables, colors = colors, autopct = 1.1f)
Explanation:
From the above question,
A) loglog(x, y, basex = e, basey = e)
(B) pie(obs, explode = explode_sample, labels = variables, colors = colors, autopct = 1.1f)
(C) scatter(x,y,c = “b”, mark = “^”, alpha = 0.5)
(D) bar([1,3,5,7,9],[2,4,6,8,10], label = “Sample 1”, color = ‘b’)
Syntax is the set of rules that define what the various combinations of symbols mean. This tells the computer how to read the code. Syntax refers to a concept in writing code dealing with a very specific set of words and a very specific order to those words when we give the computer instructions.
- Case Sensitive. Java, C++, and Python are examples of languages that are case-sensitive. ...
- Class Names. Java requires the first letter of each word in class names be upper case. ...
- Program Filenames. The name of a Java program file must match the class name with the extension '*.
Types of Syntax :
- Prolog syntax and semantics.
- Perl syntax.
- PHP syntax and semantics.
- C syntax.
- C++ syntax.
- Java syntax.
- JavaScript syntax.
- Python syntax and semantics.
Hence, the wrong syntax is pie(obs, explode = explode_sample, labels = variables, colors = colors, autopct = 1.1f)
For more related question : https://brainly.in/question/1695218
#SPJ5