Posts

Showing posts from 2018

PrintVowels

#include <stdio.h> #include <stdlib.h> int check_vowel(char); int main() {    char s[100],t[100];    int i,j=0;    printf("Enter any string:\n");    scanf("%[^\n]s",&s);    for(i=0;s[i]!='\0';i++){     if(check_vowel(s[i]==0))     {t[j]=s[i];j++;}    } t[j]='\0'; printf("%s",t);     return 0; } int check_vowel(char c){ switch(c) {     case 'a':     case 'A' :     case 'e':     case 'E':     case 'i':     case 'I':     case 'o':     case 'O':     case 'u':     case 'U':     case ' ':     return 0;     default:         return 1; } }

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

Best Camera Phones Under 12000

Image
The latest phones -- XIAOMI REDMI NOTE 5 4GB PRICE IN INDIA Rs 11,999 MOTO G5S Rs 10,999

Best smartphones to buy under Rs. 7,000 in India right now

Image
The budget segment isn't like what it was before. While earlier there were more compromises than satisfaction, the 2018 lineup of phones under Rs 7,000 has been great bang for the buck. The entry-level phones this year are quite capable and for the most part, are reliable all-rounders with good battery life . Lava Z50 Price: Rs 4,399 Yet another Android Go phone with the exact same specs as the Nokia 1, but much cheaper. The Lava Z50 also has a robut polycarbonate design to boot. Redmi 5A Price: Rs 6,999 With a Snapdragon 425 chipset underneath, the Redmi 5A is a raging performer for that price. It doesn't hang up much and the MIUI 8 UI helps smoothen things up. Furthermore, the camera at the back will take your basic shots pretty well. Infocus Turbo 5 Price: Rs 5,999 The Infocus Turbo 5 is also a well-rounder smartphone on paper. It comes across as a mid-ranger with a 5,000mAh battery, 13MP camera and a 5.2-inch HD display. Underneath is a Me...

Self improvement

MAN King of Mind, Body and Circumstance Thought Vibration of the Law of Attraction in the Thought-World   THE POWER OF CONCENTRATION by THERON Q. DUMONT