BRANCH & LOOP
September 2014. I’ve been looking at the job requirements for programmers at this time.
A lot of the jobs required applicants to know a lot of computer languages. For example, one job requires knowing C#, Visual Basic, HTML, CSS, and SQL also. Another job would require knowing C or C++, Java, JavaScript, PHP, HTML, and SQL.
So I decided to learn at least ten computer languages, both programming and web scripting languages, along with RDBMS languages. I decided to have knowledge of these languages: Java, C, C++, C#, VB.Net, Python, JavaScript, PHP, HTML, CSS, and SQL.
In the meantime, here’s a program of the list of the syntaxes or examples of the entire programming world’s selection and loop statements. If somebody invents a new one, he or she will be instamatically famous.
class Instamatic {
public static void main(String[] args) {
boolean boolean_expression = true;
String variable;
String expression1 = "constant1";
String expression2 = "constant2";
String[] array = new String[100];
if (boolean_expression) {
//Statements
}
if (boolean_expression) {
//Statements
}
else {
//Statements
}
variable = boolean_expression ? expression1 : expression2;
if (boolean_expression) {
//Statements
}
else if (boolean_expression) {
//Statements
}
else {
//Statements
}
switch (variable) {
case "constant1":
//Statements
break;
case "constant2":
//Statements
break;
default:
//Statements
break;
}
//Statements
while (boolean_expression) {
//Statements
}
//Statements
do {
//Statements
} while (boolean_expression);
for (int i = 0; i < 100; i++) {
//Statements
}
for (String element : array) {
//Statements
}
}
}
CYK:
How do you encapsulate a data field?
What kind of token follows the case keyword in C and C++?
What Java data type uses 4 bytes but has no precision?
Loop before you leap!
John Sindayen
References:
https://msdn.microsoft.com/en-us/library/aa292164(v=vs.71).aspx
http://www.dba-oracle.com/t_grid_rac_rdbms_language.htm
http://www.engineersblogsite.com/what-is-node-branch-and-loop-in-a-circuit.html
http://en.wikipedia.org/wiki/Significant_figures
No comments:
Post a Comment