Author: ayesha

Technical Articles

Quantum Computer: Future Of Computing

The evolution of computers was one of the most amazing achievements of the modern world. Computers undoubtedly led to the improvement of life in various ways. However, what we now know as a computer is not eternally what the computer was. Over the years, there has been a significant improvement. There have been many advances […]

Read More
Technical Articles

Why kids should learn to code ?

Let me ask you an important question Do you think, We should make programming mandatory for children or Why kids should code? yeah….! In this fast growing era of digitization, where digital appliances have become as important as breathing. We know how to use these digital appliances but it is also necessary to know how […]

Read More
Leading Startups, Backed up by Ratan Tata
Technical Articles

9 Leading Startups, Backed up by Ratan Tata

Ratan Tata, A personality that does not need any introduction as he is India’s best brand ambassador and Head of Tata Sons. Over 30 startups are backed up by Ratan Tata. Most of them are Technology based. He said, “I have been constantly telling people to encourage people, to question the unquestioned and not to […]

Read More
Java Interview Question
Interview Questions

50 Java Interview Questions with Answers: Must Read Before Attending Technical Interview

50 most important Java Interview Questions for freshers and experienced candidates. You should go through it before facing any technical interview. 50 most important Java Interview Questions 1. What is the difference between JDK, JRE, and JVM? JVM JVM is an acronym for Java Virtual Machine, it is an abstract machine which provides the runtime environment […]

Read More
Snake Game in C
C Programming
Projects

Snake Game in C

Code For Snake Game in C Programming Language  #include <graphics.h> #include <stdlib.h> #include <dos.h> #include <conio.h> #include <stdio.h> #include <time.h> check(); end(); win(); int m[500],n[500],con=20; clock_t start,stop; void main(void) { int a=0,i=0,j,t,temp,gd=DETECT,gm,ch,maxx,maxy,x=13,y=14,p,q,spd=100; initgraph(&gd,&gm,”C:\\TC\\BGI”); setcolor(WHITE); settextstyle(3,0,6); outtextxy(200,2,” SNAKE 2 “); settextstyle(6,0,2); outtextxy(20,80,” To direct The Snake use arrow keys”); outtextxy(20,140,” Don’t hit snake with its own […]

Read More
Mario like music in C program
C Programming
Challenging problems

Mario like music in C program

#include <windows.h> #include<stdlib.h> #include<stdio.h> int ma in() { int a=1; mariomusic(); return 0; } int mariomusic() { Beep (330,100);Sleep(100); Beep (330,100);Sleep(300); Beep (330,100);Sleep(300); Beep (262,100);Sleep(100); Beep (330,100);Sleep(300); Beep (392,100);Sleep(700); Beep (196,100);Sleep(700); Beep (262,300);Sleep(300); Beep (196,300);Sleep(300); Beep (164,300);Sleep(300); Beep (220,300);Sleep(100); Beep (246,100);Sleep(300); Beep (233,200); Beep (220,100);Sleep(300); Beep (196,100);Sleep(150); Beep (330,100);Sleep(150); Beep (392,100);Sleep(150); Beep (440,100);Sleep(300); Beep (349,100);Sleep(100); […]

Read More
C Programming
Data Structure

Compatible Arrays

2 arrays are said to be compatible if they are of the same size and if the ith element in the first array is greater than or equal to the ith element in the second array for all i.Write a  program to find whether 2 arrays are compatible or not. Input Format: Input consists of […]

Read More
C Programming
Data Structure

Stack using Array Implementation : Push and Pop

Consider implementing a dynamically sized stack using an array. Create a structure struct stack { int * a; int top; int maxSize; };   The structure stack has a pointer ‘a’ to a dynamically allocated array (used to hold the contents of the stack), an integer ‘maxSize’ that holds the size of this array (i.e […]

Read More
Indian Railway – Seating arrangement for Sleeper Class
C Programming
Challenging problems

Indian Railway – Seating arrangement for Sleeper Class

Write a program to determine the type of berth when the seat/berth number in the train is given. Input Format: Input consists of a single integer. Assume that the range of input is between 1 and 72. Output Format: Output consists of a single string. [Upper or Middle or Lower or Side Lower or Side Upper] Sample Input 2: […]

Read More
C Programming
Projects

TECHNICAL QUIZ PROJECT IN C

QUIZ PROJECT IN C  The Technical Quiz Project, whose code in C Programming Language is mentioned below has many questions each with 4 options for which 1 is correct. The user will have to answer the right one in order to win the game otherwise the user will lose the game.   #include<stdio.h> #include<conio.h> #include<ctype.h> […]

Read More