Posts

Showing posts from July, 2018

Test your programming knowledge

Click the below link now :- Test your programming knowledge Practise OCA programmings ->  Click here now

Preparation of OCA

Write Java code that uses variables, arrays, conditional and loop constructs Manipulate primitive numeric data and string data using Java operators Create Java classes and use object references Access the fields and methods of an object Manipulate text data using the methods of the String and StringBuilder classes Use casting without losing precision or causing errors Declare, override, and invoke methods Access and create static fields and methods Use classes from the java.time and java.time.format packages to format and print the local date and time Encapsulate a class using access modifiers and overloaded constructors Define and implement a simple class hierarchy Demonstrate polymorphism by implementing a Java Interface Use a Predicate Lambda expression as the argument to a method Handle a checked exception in a Java application                                        ...

Java Oracle Certified Associated (OCA)

Exam Number:   1Z0-808 Exam Title:   Java SE 8 Programmer Please click here below link for more details about OCA - Java Oracle Certified Associated (OCA) Review Exam Topics - Assume the following: Missing package and import statements : If sample code do not include package or import statements, and the question does not explicitly refer to these missing statements, then assume that all sample code is in the same package, or import statements exist to support them. No file or directory path names for classes : If a question does not state the file names or directory locations of classes, then assume one of the following, whichever will enable the code to compile and run: All classes are in one file Each class is contained in a separate file, and all files are in one directory Unintended line breaks : Sample code might have unintended line breaks. If you see a line of code that looks like it has wrapped, and this creates a situation where the wrapping ...

To check Odd or Even number using C programming

Image
This video all about to check Odd or Even number using C programming --

To add the digits of a given number

Image
This below video all about add the digits of a given number using C programming--

How to calculate binary subtraction using 2's complement method(part 2)

Image
This below video all about how to calculate binary subtraction using 2's complement method--

How to calculate binary subtraction using 2's complement(part 1)

Image
This below video all about how to calculate binary subtraction using 2's complement method

Train ticket booking using app

Image
This below video all about train ticket booking using android application --

Factorial of a given number

Image
This below video all about how to easily find out factorial of a given number.

How to generate Fibonacci series in java

import java.util.Scanner ; public class Main { public static void main (String[] args) { int first= 0 , second= 1 , third ; System. out .println( "Enter how many term(s): " ) ; Scanner scanner = new Scanner(System. in ) ; int input=scanner.nextInt() ; scanner.close() ; for ( int i = 1 ; i <=input ; i++) { System. out .println(first) ; third = first + second ; first=second ; second=third ; } } } The above code is represented Fibonacci series. Output : Enter how many term(s):   5 0 1 1 2 3

Sign magnitude repersentation

Image
This video all about sign magnitude representation. For more videos click thet below link https://m.youtube.com/watch?v=LYfw0KZS2XA