Knowledge in Code

Binary search in Java

import java.util.Scanner; class BinarySearch {   public static void main(String args[])   {     int c, first, last, middle, n, search, array[];     Scanner in = new Scanner(System.in);     System.out.println("Enter number of elements");     n = in.nextInt();     array = new int[n];     System.out.println("Enter " + n + " integers");     for (c = 0; c < n; c++)       array[c] = in.nextInt();     System.out.println("Enter value to find");     search = in.nextInt();     first  = 0;     last   = n - 1;     middle = (first + last)/2;     while( first <= last )     {       if ( array[middle] < search )         first = middle + 1;           else if ( array[middle] == search )       {         System.out.println(search + " found at location " + (middle + 1) + ".");         break;       }       else          last = middle - 1;       middle = (first + last)/2;    }    if (first > last)       System.out.println(search + " isn't present in the list.\n");   } }

Learn C programming

Hey, in case you are looking for a good C programming tutorial, then you are at correct place.  I am going to start C programming tutorial for all who want to learn. Starting from very basic to advanced topics in C will be covered in this tutorial. So, we will start from very basic topics like a variable, data type, and all these things then we will move towards array, functions, strings etc. After that, we will move to data-structures. So, it's going to be very excited and the teaching technique is going to be unique. Hope, you will enjoy this course. It's completely free of cost. So, don't miss this opportunity. See you soon.

Programming for CNC G code M Code

CNC programming g code and m code details Miscellaneous code for CNC lathe and CNC milling program required codes in pdf.

SImple LCD DISPLAY

Arduino program for the LCD Display display name extension is .ino needs to be coded on a arduino board

An Emerging Opportunity for the tech college guys.

Hey everyone,Viden is personally one of the best platform I have come across to share your thoughts , gain access to the material uploaded all over the India. Helping each other and earning that sense of satisfaction which is very hard to achieve. In that aspect I would like to share this exam which I came across while discussing my future thoughts among my friends.CodeChef, a global competitive programming platform, has recently launched a new certification on Data Structures & Algorithms. This certification is an assessment of proficiency in programming using Data Structures and Algorithms under a proctored environment. It can be used for a lifetime as it tests a candidate’s grasp on subjects that are very fundamental to the field of computer science and durable. CodeChef has started with a new Certification Program on Data Sufficiency and Algorithms (CCDSAP) as a platform to learn and assess their programming skills on their platform.Features of the CCDSAP:1.) Currently there are three levels to the program- Foundation and Advanced. The Expert level will be started soon.2.) The Certification exams will conducted at a regular interval in different cities across India. It has been launched in many cities till now.. 3.) The exam will be of 3 hour duration under a proctored environment. Some advantages of certification program which you may be interested in:1.) Motivating yourself to improve your knowledge in the subject Assessing yourself.2.) Applying for a better job Getting admission in selected universities 3.) Writing efficient code Perks of Registering for CCDSAP:1.) The certificate will be valid for a lifetime Platform for self assessment 2.) Building a strong profile for job applications 3.) Getting admission in selected universities based on your performance and skillsFor more info visit:https://www.codechef.com/certification/data-structures-and-algorithms/about?utm_source=101VTA0T&utm_campaign=rep_progUsing the code ie. 101VTA0T (already mentioned in the link) you will get an additional discount of Rs 200/- over the offer going at that time. Early bird offer expires on 7th August 2019. I personally have applied for the exam.I hope this will provide a suitable opportunity for you all to prove and asses yourself. Also this will also help you to highlight your weakness and to overcome them. Just like Viden , which has helped count less no. of students, I hope this will also help everyone.

Winter Of Code - Coding Competition

Are you thinking of getting Internship and Placement at the biggest Tech-giants Microsoft, Amazon, Samsung?We are here for you with the biggest opportunity to practice and experience a test of the same level !!Winter of CodesIt’s a free online Coding Competition Eligibility: Working Professionals and Students from all years can participate.Date: Every Saturday, December.Time : 9:00p.mDuration : 90minsWhat's there in the test?Coding, Aptitude and Logical ReasoningRewards :-Cash Prizes-MI Bands-Free Online Courses And much more...Competing with more than 150 colleges from all over India will give you the grand opportunity to face competition!Willing to participate?_Register now and visit the link for more details :https://codingninjas.in/events/winter-of-codes?campaign=winterofcodes&source=ca405

matlab (for the beginners)

The tutorials are independent of the rest of the document. The primarily objective is to help you learn quickly the first steps. The emphasis here is “learning by doing”. Therefore, the best way to learn is by trying it yourself. Working through the examples will give you a feel for the way that MATLAB operates. In this introduction we will describe how MATLAB handles simple numerical expressions and mathematical formulas. The name MATLAB stands for MATrix LABoratory. MATLAB was written originally to provide easy access to matrix software developed by the LINPACK (linear system package) and EISPACK (Eigen system package) projects. MATLAB [1] is a high-performance language for technical computing. It integrates computation, visualization, and programming environment. Furthermore, MATLAB is a modern programming language environment: it has sophisticated data structures, contains built-in editing and debugging tools, and supports object-oriented programming. These factors make MATLAB an excellent tool for teaching and research. MATLAB has many advantages compared to conventional computer languages (e.g., C, FORTRAN) for solving technical problems. MATLAB is an interactive system whose basic data element is an array that does not require dimensioning. The software package has been commercially available since 1984 and is now considered as a standard tool at most universities and industries worldwide.

matlab

The end of this document contains two useful sections: a Glossary which contains the brief summary of the commands and built-in functions as well as a collection of release notes. The release notes, which include several new features of the Release 14 with Service Pack 2, well known as R14SP2, can also be found in Appendix. All of the MATLAB commands have been tested to take advantage with new features of the current version of MATLAB available here at Northwestern (R14SP2). Although, most of the examples and exercises still work with previous releases as well. This manual reflects the ongoing effort of the McCormick School of Engineering and Applied Science leading by Dean Stephen Carr to institute a significant technical computing in the Engineering First°R 2 courses taught at Northwestern University. Finally, the students - Engineering Analysis (EA) Section - deserve my special gratitude. They were very active participants in class.