Posts

Mobile Application Development - Equip IT Grads With What Market is Demanding

Image
Most Pakistani universities' BSCS / BSSE / BSIT programs contain Web Engineering course. Web Engineering primarily cover concepts and lab work related to web applications development. But in last 4-5 years, the demand of mobile applications has increased exponentially. In just 4 years of Android launch, Android store is touching 6,75000 number of total apps ( September 2012), and these are increasing day by day. In only December 2012, almost 37,500 new apps were released.  Almost same  or better is the situation at Apple App Store (that hosts apps for iPhone, iPad, etc.).                                             Ref:  http://www.appbrain.com/stats/number-of-android-apps One may argue that CS or other degree programs focus on theoretical underpinning of computer science, instead particular type of development skill. But I believe, in countries (like Pakistan),...

3 Useful SMS Services by NADRA

Image

Simple Calculator

//Imports are listed in full to show what's being used //could just import javax.swing.* and java.awt.* etc.. import java.awt.EventQueue; import java.awt.GridLayout; import java.awt.BorderLayout; import java.awt.event.ActionListener; import java.awt.event.ActionEvent; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.JTextField; import javax.swing.JButton; import java.awt.Container; public class SimpleCalc implements ActionListener{ JFrame guiFrame; JPanel buttonPanel; JTextField numberCalc; int calcOperation = 0; int currentCalc; //Note: Typically the main method will be in a //separate class. As this is a simple one class //example it's all in the one class. public static void main(String[] args) { new SimpleCalc(); } public SimpleCalc() { guiFrame = new JFrame(); //make sure the program exits when the f...

Event Handling in Java - Assignment 2

The objective of this assignment is to understand events handling in abstract way. We have used events with GUI components, but events are not only associated with GUI components. You can define events and fire them even when there is no GUI of your application. In this assignment you are supposed to create ResultAnnouncedEvent which is fired by ExaminationCenter. Different entities (or classes) can register themselves as listeners so that when result is announced they are notified, for example Student, Teacher and Administrator. So these classes are event listeners. These classes should just receive the event and print the event attributes. The ResultAnnouncedEvent class should be composed of class, section, and date attributes. Also create ExaminationCenterTest class that fires the event. Before doing this assignment, it is recommended you read API docs of java.util.EventObject, java.util.EventListener. Also See: http://www.jguru.com/faq/view.jsp?EID=98547 Due: Next Lab.

Introduction to Java Swing

LabelFrame.java import java.awt.FlowLayout; // loads images import javax.swing.Icon; import javax.swing.ImageIcon; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.SwingConstants;  public class LabelFrame extends JFrame  {  private JLabel label1; // JLabel with just text  private JLabel label2; // JLabel constructed with text and icon  private JLabel label3; // JLabel with added text and icon  // LabelFrame constructor adds JLabels to JFrame  public LabelFrame()  { super( "Testing JLabel" );  setLayout( new FlowLayout() );  label1 = new JLabel( "Label with text" ); label1.setToolTipText( "This is label1" ); add( label1 ); Icon bug = new ImageIcon( getClass().getResource( "bug.jpg" ) ); label2 = new JLabel( "Label with text and icon", bug, SwingConstants.LEFT ); label2.setToolTipText( "This is label2" ); add( label2 ); label3 = new JLabel(); // JLabel constructor no arguments label3.setText( "Label ...

What is the difference between sandy bridge and ivy bridge processors

Transistor is key component inside processor, which has a physical size. In Sandy Bridge, the transistor size is 32 nano meter (also called 32nm technology). These are called Intel 2nd Generation Processors. There are multiple i3, i5, and i7 Sandy Bridge models. Under Ivy Bridge, Intel has decreased the transistor size to 22 nano meter. Its mean, more components can be embedded inside same size processor chip, so more processing power can be introduced inside same size physical chip. i3, i5 and i7 with Ivy Bridge type processors are called Intel 3rd Generation Processors. In Ivy Bridge, Intel has also introduced a new transistor named 3D / Tri-Gate .

Introduction to Computing Fall 2012

Course Objective This course is an introduction to broad class of computer issues. It is designed for students who are not CS majors, who have had little or no previous experience with computers.  Announcements Section A and B, your labs are being conducted as per schedule. The Lab instructor comes in each lab. It is required for every student to attend lab. Its attendance is required to be at least 80%. There is separate exams of tasks done in lab. So don't miss it. Oct 2. The course for Sessional-1 exam is first 8 lectures, as per our course outline. All what we covered before Input Devices (excluding input devices). Nov. 8. There is quiz # 2 in next week's first lecture (of both sections in their classes). Nov 15 . The course for S-II exam for both sections is Input and Output Devices, Operating Systems and Databases. (Section B, please note, no any topic of Data Communication is included in S-II exam). 23 Dec, If any one has attendance shortage issue because of 1-2 l...