Home / Computer Science (page 4)

Computer Science

Computer Science

Physics and it’s Quantities

                                           INTRODUCTION TO PHYSICS Physics is a branch of science that deals with the matter and energy. Matter is a substance that has mass and occupies space. It exists in 3 physical states: Solid– They have definite volume and shape. Liquid– They have definite volume but they lack in having …

Read More »

What is Breadth First Search (BFS)

Breadth First Search

Breadth First Search is an algorithm for traversing elements from a data structure or searching tree.  Visiting each vertex and edge exactly in a well defined order is done in Graph travelers. Traversal of an element in graphically is well defined in searching algorithms. The first traversal in BFS accomplished …

Read More »

First C Program

First C Program: First every c program must have one main() function. C program execution always start from main(). Every statement ends with semicolon(;). #include <stdio.h> #include<conio.h> void main() { printf(“Hello, world\n”); getch(); } #include <stdio.h> includes the standard input output library functions. The printf() function was defined in stdio.h file. #include <conio.h> includes …

Read More »