Title: Basic Java Program. Aim: Write Some Simple Programs in Java Such As I) to Find Factorial of Number. Ii) to Display First 50 Prime Numbers

Total Page:16

File Type:pdf, Size:1020Kb

Title: Basic Java Program. Aim: Write Some Simple Programs in Java Such As I) to Find Factorial of Number. Ii) to Display First 50 Prime Numbers Late GN Sapkal College Of Engineering Nasik. Department Of Electronics & Telecommunications Title: Basic java program. Aim: Write some simple programs in Java such as i) To find factorial of number. ii) To display first 50 prime numbers. iii) To find sum and average of N numbers. Objectives: To learn how to take input from user and display the output on terminal in java. Theory: What is Java? Java is a programming language & a platform. Java is a high level, robust, secured & object oriented programming language. It is used to develop software which can run on variety of devices. With invention of internet & changing requirement, C, C++ could not fulfill the programming requirement. Java was invented around 1995 & becomes one of the most accepted & used language by the programmer. They provide rich set of functions by which any kind of software can be developed very easily & can also develop complicated software. Java program can run on any platform so programmer can develop software without considering the underlying platform. During initial phase java was used for desktop application but slowly it becomes the first choice of programmer for internet programming. Famous mobile platform Android is also based on Java Programming language. Evolution of Java:- Java was conceived by James Gosling, Patrick Naughton, Chris Warth, Ed frank, & Mike Sheridan at Sun Microsystems, Inc. in 1991. It took 18 months to develop the first working version. This language was initially called “Oak” but was renamed “Java” in 1995. Between the initial implementation of Oak in the fail of 1992 & the public announcement of Java in the spring of 1995, many more people contributed to the design & evolution of the language. Bill Joy, Arthur van Hoff, Jonathan Payne, Frank Yellin, & tim Lindholm were key contributors to the maturing of the original prototype. Somewhat surprisingly, the original impetus for Java was not the Internet ! Instead, the primary motivation was the need for a platform-independent (that is, architecture-neutral) language that could be used to create software to be embedded in various consumer electronic devices, such as microwave ovens & remote controls. Many different types of CPUs are used as controllers. The trouble with C & C++ (& most other languages) is that they are designed to be compiled for a specific target. Although it is possible to compile a C++ program for just about any type of CPU, to do so requires a full of C++ compiler targeted for that CPU. The problem is that compilers are expensive & time-consuming to create. An easier & more cost efficient solution was needed. Late GN Sapkal College Of Engineering Nasik. Department Of Electronics & Telecommunications In an attempt to find such a solution, Gosling & others began work on a portable, platform- independent language that could be used to produce code that would run on a variety of CPUs under differing environments. This effort ultimately led to the creation of Java. The second force was, the World Wide Web. However, with the emergence of the World Wide Web, Java was propelled to the forefront of computer language design, because the Web, too, demanded portable programs. Over the period of time Java has evolved with many versions. Every version is trying to add new features in it. Complete evolution is given below :- JDK Alpha & Beta (1995) JDK 1.0 (23rd Jan 1996) JDK 1.1 (19th Feb 1997) J2SE 1.2 (8th Dec 1998) J2SE 1.3 (8th May 2000) J2SE 1.4 (6th Feb 2002) J2SE 5.0 (30th Sep 2004) Java SE 6 (11th Dec 2006) Java SE 7 (28th July 2011) Java SE 8 (18th March 2014) Types of Java:- It is available in different types as per the requirement of the application. It is available in 3 forms. 1. J2SE :- It is nothing but Java 1 Standard Edition. It is known as Core Java. Most basic & standard version of java. It is foundation for rest of the editions. Mostly used to create desktop applications. It contains all fundamental building block of language like variable, data types, control statement, arrays, strings, databases connectivity, etc. 2. J2EE :- It is Java 2 Enterprise Edition. Most of the java applications are designed in J2EE. Useful in creating applications like Web applications, Web Services, Networking, Server side scripting, etc. It is also referred as advance java. 3. J2ME :- It is java 2 Mobile edition. It is used for embedded devices like mobile. Application developer need to consider mobile limitations like limited processing power, battery backup, small display, etc. Many libraries & API are used from J2SE only. Java Environment:- JVM :- It is Java virtual Machine. Used to execute Java Program. It runs the bytecode. Bytecode can be understood by JVM. JVM is platform dependent. If we change the platform, JVM is going to change. It interprets the bytecode. It is also responsible for garbage collections, array bound checking, etc. It is called Virtual because it gives machine interface which is independent of operating system & computer hardware. It generally performs code loading, verifying code, code execution & providing runtime environment. Late GN Sapkal College Of Engineering Nasik. Department Of Electronics & Telecommunications JRE :- It is nothing but Java Runtime Environment. It provides libraries to run the program. It also contains java plug-in. It is implementation of JVM. It contains set of libraries & other files. It is also platform dependent. JDK :- It is nothing but Java Development Kit. It contains JRE & development tools. It contains compilers, debuggers, etc. It is also platform dependent. The Relation between JVM, JRE & JDK is as Figure 1 :- Figure 1:- Relation between JVM, JRE, and JDK Use of Java:- Java is used to develop variety of applications. Useful to program variety of devices. Useful to create desktop applications like Acrobat Reader, Media Player, Antivirus, etc. It can be used to develop web applications like IRCTC. Enterprise applications can be developed using java like core banking applications. It is also used in mobile devices, embedded system, robotics, gaming, etc. Late GN Sapkal College Of Engineering Nasik. Department Of Electronics & Telecommunications Following types of applications can be developed using java :- 1. Standalone Application. 2. Web Application. 3. Enterprise Application. 4. Mobile Application. Java Features:- Figure 2:- Java Features 1.Simple:- Syntax of language is very simple to use as compared to other programming language. 2. Platform Independent:- It is OS & hardware independent. It is possible due to java bytecode. Bytecode is universally accepted code by any JVM implementation. Though JVM is dependent, bytecode is platform independent & because of which java can be considered as platform independent language. 3. Secured:- It is most secured language because it does not provide the pointers. Security is added at different layers. It is added during the programming in terms of methods & private variables. JVM verifies the bytecode means another layer of security is added. 4. Robust:- It means strong. It uses very efficient memory management. It does not provide pointers so avoids security problems. Automatic garbage collection is supported by java. Late GN Sapkal College Of Engineering Nasik. Department Of Electronics & Telecommunications 5. Protable :- Java application can be installed on any device without any change. 6. Multithreaded :- To utilize the processor power, multithreading is supported by Java. Separate library is provided to multithread the program. 7. Distributed :- Distributed application development is possible using java. RMI & EJB can be used for it. File access through internet is possible. 8. Architecture Neutral :- All programs can run on any platform & on any operating system. 9. Dynamic :- Memory allocation to object of class is dynamic. 10. Interpreted :- Java byte code is translated on the fly to native machine instructions & is not stored anywhere. The development process is more rapid & analytical since the linking is an incremental & light weight process. Tools Required:- Different tools are required to create java applications. It includes editors, compilers, debuggers, etc. Main tool required for java applications are as follows :- 1. Editors :- It is used to type the program. Famous editors are notepad, gedit, vi editor, Eclipse, Netbeans, Jcreator, etc. 2. Compliers :- It is used to check the correctness of program. 3. Debuggers :- It is used for step by step execution of the program. It assists in identifying the logical errors within the program. After every step we can check variable value. 4. Libraries :- Predefined libraries are useful in faster software development. Different languages provide different libraries. Some of the famous libraries are string, Stream, Files, Thread, etc. Sample Java Program:- Steps to create & run program with Eclipse Step 1 :- Install JDK & Eclipse. Step 2 :- Open Eclipse. Step 3 :- go to File New Java Project. Enter suitable project name. Step 4 :- Right click on Project & select Class. Enter Name of program & click on Finish. Step 5 :- Type Trial program. Make sure program name & class name is same. 1 public class Trial 2 { 3 public static void main (String [] args) 4 { 5 System.out.println (“ Welcome to the Java‟s World !! ”) ; 6 } 7 } Step 6 :- Save Program Late GN Sapkal College Of Engineering Nasik. Department Of Electronics & Telecommunications Trial . java Step 7 :- Build Project (goto Project Build Project). Step 8 :- Run Program (go to Run Run) Output:- Welcome to the Java‟s World !! Line Number Explanation 1 It is used to start class. Public keyword is used to treat class as public which should be accessed by anyone. Class keyword is used to create class. Trail is name of class. 2 “ { ” is start of class definition. 3 It is start of main function. Public access specifier is used to make main function public. Static keyword is for main function. Static keyword allows calling function without object of class. Generally function should be called using object only. But main function called by JVM without using any object.
Recommended publications
  • Chapter 1 Introduction to Computers, Programs, and Java
    Chapter 1 Introduction to Computers, Programs, and Java 1.1 Introduction • The central theme of this book is to learn how to solve problems by writing a program . • This book teaches you how to create programs by using the Java programming languages . • Java is the Internet program language • Why Java? The answer is that Java enables user to deploy applications on the Internet for servers , desktop computers , and small hand-held devices . 1.2 What is a Computer? • A computer is an electronic device that stores and processes data. • A computer includes both hardware and software. o Hardware is the physical aspect of the computer that can be seen. o Software is the invisible instructions that control the hardware and make it work. • Computer programming consists of writing instructions for computers to perform. • A computer consists of the following hardware components o CPU (Central Processing Unit) o Memory (Main memory) o Storage Devices (hard disk, floppy disk, CDs) o Input/Output devices (monitor, printer, keyboard, mouse) o Communication devices (Modem, NIC (Network Interface Card)). Bus Storage Communication Input Output Memory CPU Devices Devices Devices Devices e.g., Disk, CD, e.g., Modem, e.g., Keyboard, e.g., Monitor, and Tape and NIC Mouse Printer FIGURE 1.1 A computer consists of a CPU, memory, Hard disk, floppy disk, monitor, printer, and communication devices. CMPS161 Class Notes (Chap 01) Page 1 / 15 Kuo-pao Yang 1.2.1 Central Processing Unit (CPU) • The central processing unit (CPU) is the brain of a computer. • It retrieves instructions from memory and executes them.
    [Show full text]
  • Programming Languages and Methodologies
    Personnel Information: Şekip Kaan EKİN Game Developer at Alictus Mobile: +90 (532) 624 44 55 E-mail: [email protected] Website: www.kaanekin.com GitHub: https://github.com/sekin72 LinkedIn: www.linkedin.com/in/%C5%9Fekip-kaan-ekin-326646134/ Education: 2014 – 2019 B.Sc. Computer Engineering Bilkent University, Ankara, Turkey (Language of Education: English) 2011 – 2014 Macide – Ramiz Taşkınlar Science High School, Akhisar/Manisa, Turkey 2010 – 2011 Manisa Science High School, Manisa, Turkey 2002 – 2010 Misak-ı Milli Ali Şefik Primary School, Akhisar/Manisa, Turkey Languages: Turkish: Native Speaker English: Proficient Programming Languages and Methodologies: I am proficient and experienced in C#, Java, NoSQL and SQL, wrote most of my projects using these languages. I am also experienced with Scrum development methodology. I have some experience in C++, Python and HTML, rest of my projects are written with them. I have less experience in MATLAB, System Verilog, MIPS Assembly and MARS. Courses Taken: Algorithms and Programming I-II CS 101-102 Fundamental Structures of Computer Science I-II CS 201-202 Algorithms I CS 473 Object-Oriented Software Engineering CS319 Introduction to Machine Learning CS 464 Artificial Intelligence CS 461 Database Systems CS 353 Game Design and Research COMD 354 Software Engineering Project Management CS 413 Software Product Line Engineering CS 415 Application Lifecycle Management CS 453 Software Verification and Validation CS 458 Animation and Film/Television Graphics I-II GRA 215-216 Automata Theory and Formal
    [Show full text]
  • The Java Compiler • the Java Interpreter • the Java Debugger On
    Tools : • The Java Compiler javac [ options ] filename.java . -depend: Causes recompilation of class files on which the source files given as command line arguments recursively depend. -O: Optimizes code, slows down compilation, dis- ables -depend. • The Java Interpreter java [ options ] classname hargsi • The Java Debugger jdb [ options ] Type help or ? to get started. On windows we have Jcreator and netbeans on our BSD systems. (We also have netbeans on windows available, but it is not nearly as quick as jcreator.) 1 The simplest program: public class Hello { public static void main(String[] args) { System.out.println("Hello."); } } Hello.java Executing this program would print to the console the sentence “Hello.”. A bit more complex: public class Second { public static void main(String[] input) { for (int i = input.length - 1; i >= 0; i--) System.out.print(input[i] + " "); System.out.print("\n"); } } Second.java Executing this program would print to the console the arguments in reverse order, each separated by one blank space. Primitive data types : • byte : 8 bit integer, [-128 , 127] • char : 16 bit unsigned integer, [0 , 65536]. This character set offers 65536 distincts Unicode char- acters. • short : 16 bit signed integer, [-32768 , 32767] • int : 32-bit integer, [-2147483648 , 2147483647] • long : 64 bit signed integer, [-9223372036854775807 , 9223372036854775806] • float : 32-bit float, 1.4023984e–45 to 3.40282347e+38 • double : 64-bit float, 4.94065645841246544e–324 to 1.79769313486231570e+308 • boolean : such a variable can take on
    [Show full text]
  • Brief Outline of Contents This Course Is Designed to Familiarize The
    Brief Outline of Contents This course is designed to familiarize the student with the advanced concepts and techniques in Java programming. Topics include: Comprehensive coverage of object-oriented programming with cooperating classes; Implementation of polymorphism with inheritance and interfaces; Programming with generics and Java collections; Programming with exceptions, stream input/output and graphical AWT and Swing Prerequisites Programming in Java or its equivalent. Learning Goals Understand the following. The relationships between classes Specification vs. implementation Be able to ... Specify programs Implement many of the features of Java, Standard Edition Test Java programs Required Textbook Y. Daniel Liang, "Introduction to Java Programming," Comprehensive Version, 7th Ed., Prentice Hall, 2007. ISBN-10: 0136012671 ISBN-13: 978-0136012672 Software Required JRE: Java Runtime Environment JDK Any version >= 1.5 (J2SE JDK is fine) IDE: Eclipse is fine (or any other JDK you are comfortable with, like JCreator, NetBeans) Evaluation of Student Work Rev2 Student work will be evaluated as follows. Assignments: 60% Quizzes: 10% Final: 30% 1 There will be an assignment approximately every two weeks; possibly one week at times. Quizzes will be introduced as needed with approximately a week's notice. They will count for 10% of the grade. One quiz does not count, allowing you one absence from class. Otherwise: All pass: A 80-89% passed: B 70-79% passed: C 60-69% passed: D Late homework will not be accepted unless there is a reason why it was not reasonably possible to perform the work in time given work and emergency conditions. In that case, e- mail the written reason should be attached to the homework, which will be graded on a pass/fail basis if the reason is accepted by me.
    [Show full text]
  • Ch1: Introduction
    Ch1: Introduction 305172 Computer Programming Laboratory Jiraporn Pooksook Naresuan University Class Information • Instructor: Jiraporn Pooksook (จิราพร พุกสุข) • TA: Wanarat Juraphanthong (วนารัตน์) • Lecture time&Location: G1: Thurs 9-12 a.m., EN609 G2: Thurs 5-8 p.m., EN609 • Office: EE 214 • Office hour: By appointment • Email: [email protected] • Website: www.ecpe.nu.ac.th/jirapornpook Assignment & Grading • Homework: 10% • Class Participation: 10% • Midterm: 30% • Final: 30% • Project: 20% Books & References • Python for Kids: A Playful Introduction To Programming, by Jason R. Briggs Retrieved from : https://books.google.co.th/books Books & References • Python programming books written in Thai. • Python tutorial https://docs.python.org/3/tutorial/ • Video Lecture of CU https://www.youtube.com/watch?v=U2l1xgpVsuo Tools • Python 3.7.0 https://www.python.org/downloads/ • IDLE Python Exercises • Register Code.org https://studio.code.org/s/express/ • Finish tasks and report what level you have already done every week. How to write a program • Decide which language you want to code. • Find a good compiler/interpreter. • Start writing a code. What are these words? Programming Compiler/ Editors language interpreter C GNU GCC 9.1 Turbo C ,Borland C++, Visual C++, Visual Studio Code, Codeblocks C++ GNU GCC 9.1 Turbo C++,Borland C++,Visual C++ , Visual Studio Code, Codeblocks JAVA Java SE 12.0.1 JCreator, Netbeans, Eclipse Ruby Ruby 2.6.3 Atom, Visual Studio Code Python Python 3.7.3 Visual Studio Code, Idle, PyCharm Types of Programming Languages • Static Programming Language : Java, C, C++, etc. – declare the type of variables before use. – need compiler to read all instructions and run at once finally.
    [Show full text]
  • IDE's for Java, C
    1 IDE’s for Java, C, C++ David Rey - DREAM 2 Overview • Introduction about IDE’s • Eclipse example: overview • Eclipse: editing • Eclipse: using a version control tool • Eclipse: compiling/building/generating doc • Eclipse: running/debugging • Eclipse: testing • Eclipse: tools to easily re-write code • Conclusion 3 What is an IDE • IDE = Integrated Development Environment • IDE = EDI (Environnement de Développement Intégré) in French • Generally language dependant (c/c++ specific IDE, java specific IDE, not yet good ones for Fortran) • Typical integrated development tools : • editor (with auto-indent, auto-completion, colorization, …) ; • version control ; • compiler/builder ; • documentation extractor ; • debugger ; • tests tool ; • refactoring tools. 4 What is not an IDE • Just a great text editor • A code generator • A GUI designer • A forge (i.e. GForge) 5 IDEs examples - Java • Eclipse (http://www.eclipse.org) • JBuilder (http://www.borland.com/us/products/jbuilder/index.html - free for personnal and non-commercial use) • NetBeans (http://www.netbeans.org/) • JCreator (http://www.jcreator.com/) • … 6 IDE’s examples – C/C++ • Visual C++ - com. license (http://msdn.microsoft.com/visualc) • C++ Builder - com. license (http://www.borland.com/us/products/cbuilder/index.html) • Quincy (http://www.codecutter.net/tools/quincy/) • Anjuta (http://anjuta.sourceforge.net/) • KDevelop (http://www.kdevelop.org/) • Code::Block (http://www.codeblocks.org/) • BVRDE (http://bvrde.sourceforge.net/) • RHIDE (http://www.rhide.com/) • … 7 Overview • Introduction
    [Show full text]
  • Principy Operačních Systémů
    PROGRAMOVACÍ TECHNIKY STUDIJNÍ MATERIÁLY URČENÉ PRO STUDENTY FEI VŠB-TU OSTRAVA VYPRACOVAL: MAREK BĚHÁLEK OSTRAVA 2006 © Materiál byl vypracován jako studijní opora pro studenty předmětu Programovací techniky na FEI VŠB-TU Ostrava. Jiné použití není povoleno. Některé části vycházejí či přímo kopírují původní výukové materiály k předmětu Programovací techniky vytvořené doc. Ing Miroslavem Benešem Ph. D. Programovací techniky OBSAH 1 Průvodce studiem ..................................................................................... 5 1.1 Charakteristika předmětu Programovací techniky ............................. 5 1.2 Další informace k předmětu Programovací techniky ......................... 5 2 Nástroje pro tvorbu programu................................................................ 7 2.1 Tvorba aplikace .................................................................................. 8 2.2 Editor .................................................................................................. 9 2.3 Překladač .......................................................................................... 10 2.3.1 Překlad zdrojových souborů ..................................................... 11 2.3.2 Typy překladače ....................................................................... 11 2.4 Spojovací program (linker)............................................................... 12 2.5 Nástroje pro správu verzí.................................................................. 12 2.5.1 Concurrent Version System (CVS) .........................................
    [Show full text]
  • Teaching and Learning to Program: a Qualitative Study of Hong Kong Sub
    Teaching and Learning to Program: A Qualitative Study of Hong Kong Sub-Degree Students by CHENG Wing Fat Johnny B.Sc. (Hons), Pg.Dip., M.Sc., M.Ed. A thesis submitted for the degree of Doctor of Education University of Technology, Sydney February 2010 Certificate of Originality I certify that the work in this thesis has not previously been submitted for a degree nor has it been submitted as part of requirements for a degree except as fully acknowledged within the text. I also certify that the thesis has been written by me. Any help that I have received in my research work and the preparation of the thesis itself has been acknowledged. In addition, I certify that all information sources and literature used are indicated in the thesis. Signature of Candidate __________________________________ ii Acknowledgements The completion of my doctoral dissertation is a rewarding achievement. It is not only because of the superficial reward but also the underlying process which revealed all the wonder of my Lord’s works. As the Bible says, “… all things are working together for good to those who have love for God, and have been marked out by His purpose” (Romans 8:28). I would like to take this opportunity to express my immense gratitude to everyone who has given their invaluable advice and assistance. In particular, I thank my thesis advisor Dr. Liam Morgan and my former thesis advisor Professor Robert Pithers, who generously devoted their time and knowledge to assist me in throughout my doctoral study. Special thanks go to my IT colleague, Mr.
    [Show full text]
  • Aligning Design of Embodied Interfaces to Learner Goals
    Aligning Capabilities of Interactive Educational Tools to Learner Goals Tom Lauwers CMU-RI-TR-10-09 Submitted in partial fulfillment of the requirements for the degree of Doctor of Philosophy in Robotics The Robotics Institute Carnegie Mellon University Pittsburgh, Pennsylvania 15213 Submitted in partial fulfillment of the requirements of the Program for Interdisciplinary Education Research (PIER) Carnegie Mellon University Pittsburgh, Pennsylvania 15213 Thesis Committee: Illah Nourbakhsh, Chair, Carnegie Mellon Robotics Institute Sharon Carver, Carnegie Mellon Psychology Department John Dolan, Carnegie Mellon Robotics Institute, Fred Martin, University of Massachusetts Lowell Computer Science c 2010, Tom Lauwers. ABSTRACT This thesis is about a design process for creating educationally relevant tools. I submit that the key to creating tools that are educationally relevant is to focus on ensuring a high degree of alignment between the designed tool and the broader educational context into which the tool will be integrated. The thesis presents methods and processes for creating a tool that is both well aligned and relevant. The design domain of the thesis is described by a set of tools I refer to as “Configurable Embodied Interfaces”. Configurable embodied interfaces have a number of key features, they: • Can sense their local surroundings through the detection of such environ- mental and physical parameters as light, sound, imagery, device acceleration, etc. • Act on their local environment by outputting sound, light, imagery, motion of the device, etc. • Are configurable in such a way as to link these inputs and outputs in a nearly unlimited number of ways. • Contain active ways for users to either directly create new programs linking input and output, or to easily re-configure them by running different pro- grams on them.
    [Show full text]
  • It Consulting Jp Bvba
    I chose for a job in software testing after getting my master degree in computer science because of my quality minded approach and my attention to detail. My main expertise consists of test management, test automation, test tooling and requirement analysis as a consequence of experience built up during several projects in different sectors during the past years. Currently I am working as a QA Lead at the VDAB. My mission is to improve the testing process. Coordinate the testing activities of the manual and automated testers and coach them where needed. My tasks in previous projects consisted of test management, requirement analysis, setting up test automation frameworks (in Java and C#), supervision of tests automated by other team members, manual testing and managing test tools (like HP ALM) as an administrator. I worked in rapidly changing informal environments as well as in very formal environments like the payment sector and safety-critical projects (Schengen and Siemens). Because of the combination of my functional and technical knowledge I am the perfect person to make the bridge between the functional and technical people of the project. Alongside my IT skills I also have very highly developed communication and leading/coaching skills. I like to take commitment and initiative. Thanks to my social skills I am able to integrate into the team very quickly. IT CONSULTING JP BVBA Ongoing VDAB June 2017 QA Lead Responsibilities: - Team lead of 18 testers - Assigning manual and automated testers to projects - Writing the corporate test strategy - Organizing the QA Guild June 2017 Belgacom International Carrier Services (BICS) March 2017 Test Process Improver/Test Automation Specialist/Functional Analyst Working in BICS ‘incubation team’ which is in essence a start-up company within BICS.
    [Show full text]
  • Freeware-List.Pdf
    FreeWare List A list free software from www.neowin.net a great forum with high amount of members! Full of information and questions posted are normally answered very quickly 3D Graphics: 3DVia http://www.3dvia.com...re/3dvia-shape/ Anim8or - http://www.anim8or.com/ Art Of Illusion - http://www.artofillusion.org/ Blender - http://www.blender3d.org/ CreaToon http://www.creatoon.com/index.php DAZ Studio - http://www.daz3d.com/program/studio/ Freestyle - http://freestyle.sourceforge.net/ Gelato - http://www.nvidia.co...ge/gz_home.html K-3D http://www.k-3d.org/wiki/Main_Page Kerkythea http://www.kerkythea...oomla/index.php Now3D - http://digilander.li...ng/homepage.htm OpenFX - http://www.openfx.org OpenStages http://www.openstages.co.uk/ Pointshop 3D - http://graphics.ethz...loadPS3D20.html POV-Ray - http://www.povray.org/ SketchUp - http://sketchup.google.com/ Sweet Home 3D http://sweethome3d.sourceforge.net/ Toxic - http://www.toxicengine.org/ Wings 3D - http://www.wings3d.com/ Anti-Virus: a-squared - http://www.emsisoft..../software/free/ Avast - http://www.avast.com...ast_4_home.html AVG - http://free.grisoft.com/ Avira AntiVir - http://www.free-av.com/ BitDefender - http://www.softpedia...e-Edition.shtml ClamWin - http://www.clamwin.com/ Microsoft Security Essentials http://www.microsoft...ity_essentials/ Anti-Spyware: Ad-aware SE Personal - http://www.lavasoft....se_personal.php GeSWall http://www.gentlesec...m/download.html Hijackthis - http://www.softpedia...ijackThis.shtml IObit Security 360 http://www.iobit.com/beta.html Malwarebytes'
    [Show full text]
  • Introduction to Java Network Programming Getting Started
    HELSINKI UNIVERSITY OF TECHNOLOGY DEPARTMENT OF COMMUNICATIONS AND NETWORKING Introduction to Java Network Programming © 2009 Md. Tarikul Islam 1 HELSINKI UNIVERSITY OF TECHNOLOGY DEPARTMENT OF COMMUNICATIONS AND NETWORKING Getting Started } Java Development Platform — Java Virtual Machine (JVM) is available on many different operating systems such as Microsoft Windows, Solaris OS, Linux, or Mac OS. — Sun JDK 5 or 6 which includes Java Runtime Environment (JRE) and command• line development tools. } Development Tools — Main tools (javac compiler and java launcher) — Using IDE (Eclipse, Netbeans, JCreator … .) — Automate compiling (Apache Ant) and testing (JUnit) © 2009 Md. Tarikul Islam 2 1 HELSINKI UNIVERSITY OF TECHNOLOGY DEPARTMENT OF COMMUNICATIONS AND NETWORKING Socket } What is Socket? — Internet socket or Network socket is one endpoint of two•way communication link between two network programs. Server Communication Client 192.168.0.1/80 link 192.168.0.2/2469 } Types of Socket — Stream sockets –connection•oriented sockets which use TCP — Datagram sockets –connection•less sockets which use UDP — Raw sockets –allow direct transmission of network packets from applications (bypassing transport layer) } Modes of Operation — Blocking or Synchronous –application will block until the network operation completes — Nob•blocking or Asynchronous –event•driven technique to handle network operations without blocking. © 2009 Md. Tarikul Islam 3 HELSINKI UNIVERSITY OF TECHNOLOGY DEPARTMENT OF COMMUNICATIONS AND NETWORKING Resolving Hostname } java.net.InetAddress
    [Show full text]