What is the if single-selection statement in Java: If the single selection is a statement in Java that evaluates to True or False meaning that if the statement results in True the work gets done on the true side if its evaluated false the true side gets ignored and … [Read more...] about Compare and contrast the if single-selection statement and the while repetition statement?
Linux IRQ devices
IRQ 0 System timer IRQ 1 Keyboard IRQ 2 Cascade for IRQ’s 8-15 IRQ 3 Second RS-232 Serial Port IRQ 4 First RS-232 Serial Port IRQ 5 Sound card or Parallel port IRQ 6 Floppy disk controller IRQ 7 First Parallel Port IRQ 8 Real time clock IRQ 9,10,11, OPEN … [Read more...] about Linux IRQ devices
What is a conditional operator in java (?:)
(?:) smiley face with a hat that has a question also known in Java as the conditional operator what is it? The conditional operator can be a replacement of the if else statements in Java for example. (?:) ? --- means its a boolean expression meaning True or … [Read more...] about What is a conditional operator in java (?:)
Getting to know pseudocode aka “ZudoCode”
Pseudocode pronounced ZudoCode, pseudocode is a tool used by software professionals to translate an idea to a type of form that can be used to get coded. a good example of this is when you get an idea and you just type out in a txt editor that major actions that … [Read more...] about Getting to know pseudocode aka “ZudoCode”
What are algorithms?
The simplest way to explain and algorithms is to think about a series of steps that need to be executed in a specific order take for example applying shampoo. choose shampoo type open shampoo bottle squirt shampoo into a hand lather shampoo in … [Read more...] about What are algorithms?
How to use switch Statement in Java?
import javax.swing.JOptionPane; class cambien { public static void main (String [] args) { String response; response = JOptionPane.showInputDialog ("what is your age?"); if (response == null) { JOptionPane.showMessageDialog … [Read more...] about How to use switch Statement in Java?
How to use if statement to check for empty input box in java?
import javax.swing.JOptionPane; //imports swing class class Practice { public static void main (String [] args) { String response; //creates "respose" string response = JOptionPane.showInputDialog //assignment of response ("what is your first … [Read more...] about How to use if statement to check for empty input box in java?
Working with Tables in HMTL
<html> <head> <title>Online Resume</title> <style> table { font-family:tahoma, sans-serif; border-collapse: collapse; } th.{background-color:#cef} tr.odd {background-color:#ddf} tr.even {background-color:#def} td {padding: 3pt;} th … [Read more...] about Working with Tables in HMTL
Java Program Practice with while loop
class Test { public static void main (String [] args) { int x = 0; int y = 0; while ( x < 5 ) { y = y - x; System.out.print (x + "" + y + " "); x = x + 1; } } } … [Read more...] about Java Program Practice with while loop
Java Program Practice
class First { public static void main (String [] args) { int x = 3; while (x > 0) { if (x > 2) { System.out.print("a"); } x = x - 1; System.out.print("-"); if (x == 2) { … [Read more...] about Java Program Practice