Computer Science, asked by sushant7425, 1 year ago

How are colons and semicolons used in computer science?

Answers

Answered by hariharan108
0
The semicolon is used a lot in computer programming to finish an instruction. ... A semicolon may also be used as a delimiter to separate text. For example, if the Windows path has more than one directory each directory is separated by a semicolon.
Answered by BrainlyFIRE
0
In computer programming, the semicolonis often used to separate multiple statements (for example, in Perl, Pascal, PL/I, and SQL; see Pascal: Semicolons as statement separators). In other languages,semicolons are called terminators and are required after every statement (such as in Java, and the C family).


colon is also essential for computer languages like python programming in which it is used for starting a loop
Similar questions