Psychology, asked by memonneha709, 2 months ago

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

Answered by jkherangamer1010
6

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)

Answered by tripathiakshita48
1

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 :

  1. Prolog syntax and semantics.
  2. Perl syntax.
  3. PHP syntax and semantics.
  4. C syntax.
  5. C++ syntax.
  6. Java syntax.
  7. JavaScript syntax.
  8. 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

Similar questions