Detail BCA Syllabus of Magadh Unversity

Click Below to Download Syllabus

Read More

Time Travel: is it possible


In Metaphysics: Yes, time travel already is a reality. If time travel were not a reality, how then did we get suspended here in this temporal dimension of time and space? Time exists as a polar opposite to eternity, an opposite and equal reaction to time. This is evident when we try to measure the immeasurable universe.


Time travel in our perception would imply rifts in the space-time continuum, causing a paradox, much like that seen in the movies "Back to the Future" and "Minority Report". Time travel is a reality according to Einstein's theory of relativity, where the faster an object travels, the slower time goes. Simply put, this is only possible with exponential proportions of speed, resulting in an explosive force that causes the matter traveling to turn into energy at the speed of light squared--this is to say that matter is what is traveling through time and space.


If time travel ever became a reality for people, wouldn't we already known it by the rifts being caused? Let's say 1,000 years from now someone comes back to this time or to a time before this; we certainly would have historical records of the person that traveled through time; because they may even be pictured or written in history books!


In the Bible: Apparently, time travel must be possible in order for the Bible to stand true, because the religious leaders said, "We are the children of Abraham." And Jesus responded, "I tell you the truth, before Abraham was, I AM." In a manner that truly defies space and time. In this case, this man is, was, and will always be the timeless man who defies the laws of nature; also, in order for people to see the future and write it down as prophecy, time travel must therefore be possible for this to work.


Changing the events of prophecy, such as Nineveh with Jonah predicting their doom, is also apparent. This city turned to God and the prophecy of doom was taken back, and they were forgiven. This idea gives us a paradox of what would have happened had they not turned to God and the city was destroyed; certainly some people alive today would have then not been born! Time travel would therefore be too dangerous for us humans to play with.


In Physics: It is an observation that two watches synched to exactly the same time, will show variations to the thousandth of a second when one watch is sent with a pilot at incredible speeds for a set duration on a fighter jet. However, this is barely measurable or even notable in our standards of "time." Nevertheless, if you had a hypothetical time machine, you could travel at a great speed and come back to earth thousands of years later, and only minutes would have passed in your relative dimension of "time." (But you'd have to travel precisely to the location earth would be in those thousands of years later... since earth is traveling through space! It's a long shot).


Einstein proved with his theory of relativity that time travel is possible, but it's only scientifically proven to be able to travel forward in time.


In conclusion, the only historical evidence of significant time travel is recorded in the Bible, since Jesus must have that power in order to be who he claimed to be--and in order for the prophets to obtain knowledge of the future to precision. This brings many questions to mind about paradoxes and destiny.


In the television series "Heroes", Hiro can travel through time and space, even stop time--this is an interesting concept for those who wish to change the past or see what the future holds.


Answer:


Answer1, two parts:
a) Time travel into the past probably never will be, but if it does happen, it will be only possible to "watch", and not interact or change things. Although this has not yet been proven, there are plenty of logical paradoxes that have been thrown up by time travel thought experiments that should convince us that this is the case.
b) Time travel into the future is possible now. Travelling through space at high speeds means you also travel through time as well, although you only move forwards in time by small amounts unless your speed approaches that of light. The astronauts that went to the moon travelled forwards in time by a few seconds, i.e. the atomic clocks they took with them slowed by a few seconds, and the astronauts aged a few seconds less than they would have on earth.


The answer 2 below is not incorrect (and this answer does not contradict it) - it's just that the further forwards in time you want to go and the faster you want to get to that future, time both get exponentially more difficult and expensive, because the power required gets exponentially great the faster in space you go because your mass increases exponentially towards infinity. If a cheap source of power is found to propel an ordinary space ship towards light speed, it would take a long time to get near to light speed, then time travel forwards will become commonplace.


Answer 2: No, TIME TRAVEL IS NOT POSSIBLE.


According to Einstein, time travel is not possible. We know that E=M(C*C). That is Energy = Mass into square the speed of light in vacuum speed of light in vacuum.


Suppose we invent a machine for time travel and as we reach the speed of light, think of the energy needed to move the machine forward.


i.e.: E=M(C*C)


As the speed increases, the energy required to move the machine forward also increases and it is directly proportional to the fuel required as we near the speed of light; the energy required becomes nearly infinity and the fuel required to push the machine forward also nears infinity. But, the resources available right now in finite, so logically, time travel is not possible.


Answer 3: Food for thought.


I recall news announcements a few years back about a spaceship that was being built. It was past the theory of warping space to be able to travel to Mars, I think, in only hours. I seem to recall it was a European country?. If true perhaps this will mean time travel is indeed likely.


There was an article on newscientist.com that described this, but has now been removed it seems. It was based on something called a Z particle. And it is USA not Europe sorry.


After all, what man dreams today is tomorrows reality.I think we all are travellers in time. Time and space, as I see it are being created at the border of the known universe. The bigger the universe becomes, the more space is created. In order to travel through space time is required. We think of speed as distance per time. I would like to turn this upside down and make time per distance of it. Now if one would like to travel faster than time, one would have to travel at less than zero seconds per distance! This implicates back in time. As E equals MC square, the energy added to increase speed would be converted to mass. I don't think time travelling is practicable.


The answer above is practical. Talking more, it is actually possible to travel time. Relativity claims that time is another dimension, so like any other dimension it is possible to break the barrier of time too. The theory states that anything faster than light can travel time. But again the problem is the theory itself. It states (by equation E=MC2) that as the speed tends to increase the mass required to keep the speed increases and proportionately the energy required to power the body too increases. Thus by the speed of light the mass turns infinite and thus the energy turns infinite too. It is impossible to achieve infinite energy thus it is impossible to travel time. Ha, ha, ha, what a catch to the theory right. But the law doesn't stop using Tachyons which always travel faster than light. But Tachyons can only be used for information.

Read More

What Is a Hacker?


The Jargon File contains a bunch of definitions of the term "hacker", most having to do with technical adeptness and a delight in solving problems and overcoming limits. If you want to know how to become a hacker, though, only two are really relevant.


There is a community, a shared culture, of expert programmers and networking wizards that traces its history back through decades to the first time-sharing minicomputers and the earliest ARPAnet experiments. The members of this culture originated the term ‘hacker’. Hackers built the Internet. Hackers made the Unix operating system what it is today. Hackers run Usenet. Hackers make the World Wide Web work. If you are part of this culture, if you have contributed to it and other people in it know who you are and call you a hacker, you're a hacker.


The hacker mind-set is not confined to this software-hacker culture. There are people who apply the hacker attitude to other things, like electronics or music — actually, you can find it at the highest levels of any science or art. Software hackers recognize these kindred spirits elsewhere and may call them ‘hackers’ too — and some claim that the hacker nature is really independent of the particular medium the hacker works in. But in the rest of this document we will focus on the skills and attitudes of software hackers, and the traditions of the shared culture that originated the term ‘hacker’.


There is another group of people who loudly call themselves hackers, but aren't. These are people (mainly adolescent males) who get a kick out of breaking into computers and phreaking the phone system. Real hackers call these people ‘crackers’ and want nothing to do with them. Real hackers mostly think crackers are lazy, irresponsible, and not very bright, and object that being able to break security doesn't make you a hacker any more than being able to hotwire cars makes you an automotive engineer. Unfortunately, many journalists and writers have been fooled into using the word ‘hacker’ to describe crackers; this irritates real hackers no end.


The basic difference is this: hackers build things, crackers break them.


If you want to be a hacker, keep reading. If you want to be a cracker, go read the alt.2600 newsgroup and get ready to do five to ten in the slammer after finding out you aren't as smart as you think you are. And that's all I'm going to say about crackers.
Read More

Questions : BCA 2nd Year (Magadh University)

Paper IV
1.         a) Define deferent data structure operations also define linear  and non-linear data structures
b) Explain time complexity of algorithm.
c) Explain time mean by an array give their characteristic features.
2.         a) what do you mean by an array? Give their characteristics features.
b) what is stack? How is it different from queue? what are the possible operations thhat can be
                   performed on the stack?
3. Define binary search tree. how can it be stored in computer memory as lan array? give suitable  example?
4. What are the different types 01 sorting ? give algorithm for bubble sort. also calculate the complexity.
5. What is linked list? how is it different from array? how can insertion and deletion operation be performed
   in the linked list?
6. Differentiate among graph Tree, binary tree and complete binary tree.
7. Construct the given infix expression into postfix expression
A+ (B*C-(D/E^F)*G)*H
8. Write the algorithm of quick sort and calculate the complexity of quick sort in wrost case.
9. Write the algorithm of kruskal and prim's for minimum spanning tree.
10. Write short notes on any three of the following-
a) Depth and breath first search
b) Hash table and collision resolution technique
c) Heap Sort
d) Traversal of binary tree.
Read More

C Language : Pointer Fundamental

Pointer Fundamental

In the simplest term pointer is a nearly integer variable which stores a memmory address of a computer which may contain other variable or even another pointer.

If a variable contains address of another variable than it is said that first variable points to second. Pointer can also be represented as a refrence to another variable but there is very subtle diffrence in the two statements which is mostly dependent upon situation and enviorment.

Pointer is generally of size of integer on the machine but it may be of different type which indicates the type of variable the pointer is pointing to decides pointers properties and behaviour. Pointer of one type cannot be implicitly converted from one type to another but can be explicitly converted using type casting. In such a conversion a pointer always assumes that it is point to a object of its type but reality may differ and if used incorrectly may lead to disasters including permanent machine damage.

Also it is important to note that all operation perform on pointers are done through two operators '*' (Star) and '&' (Ampercent). '&' is a unary operator that returns a memmory address of a variable. '*' is complement of '&' and return value stored at a memmory location stored in a pointer. '*' can interpreted as statement "at address" while '&' can be interpreted as statement "address of".


Pointer Variable

Declaring a pointer variable is quite similar to declaring an normal variable all you have to do is to insert a star '*' operator before it.


General form of pointer declaration is -

type* name;

where type represent the type to which pointer thinks it is pointing to.

Pointers to machine defined as well as user-defined types can be made.

Multiple pointers of similar type can be declared in one statement but make sure you use * before every one otherwise they will become a variable of that type.

Pointer Assignment

This is a type of expression used to assign value of one pointer to another using assignment operator '=' . In this value of right hand side points to memmory address of variable stored in left hand side pointer. As a result both pointers point to same memmory location after this expression.

Pointer of similar type can be used in expression easily as shown below but for diffrent type pointers you need to type cast them as shown in next section.

//
#include ‹stdio.h›
int main ()
{
   char ch = a;
   char* p1, *p2;
   p1 = &ch;
   p2 = p1; // Pointer Assignement Taking Place 
   printf (" *p1 = %c And *p2 = %c", *p1,*p2); // Prints 'a' twice
   return 0;
}
Read More

Digital Electronic : Logic Family

TTL Logic Family

The transistor-transistor-logic (TTL) family was developed in the use of transistor switches for logical operations and defines the binary values as




0 V to 0.8 V = logic 0
2 V to 5 V = logic 1


TTL is the largest family of digital ICs, but the CMOS family is growing rapidly. They are inexpensive, but draw a lot of power and must be supplied with +5 volts. Individual gates may draw 3 to 4 mA.
The low power Schottky versions of TTL chips draw only 20% of the power, but are more expensive. Part numbers for these chips have LS in the middle of them.

CMOS Logic Family

The complementary metal oxide semiconductor family (CMOS) has equivalents to most of the TTL chips. CMOS chips are much lower in power requirements (drawing about 1 mA) and operate with a wide range of supply voltages (typically 3 to 18 volts). The CMOS model number will have a C in the middle of it, e.g., the 74C04 is the CMOS equivalent to the TTL 7404. A bigh drawback is extreme sensitivity to static electricity - they must be carefully protected from static discharges.

NMOS and PMOS Logic ICs

P- and N-channel Metal Oxide Semiconductors (PMOS and NMOS) offer the advantage of higher component density than TTL chips. There are not nearly so many TTL equivalents (CMOS family does much better here). They are sensitive to damage from electrical discharge.

Component Designations


Integrated circuits in the TTL logic family have part numbers which are four to five digit numbers. With the introduction of other types of construction of devices, letters were added to center of the numbers to remind the user that basic TTL chips are not being used. The device numbers begin with a prefix which tells about its series followed by another number which identifies the individual device.

7400         the TTL designation
74C00 the CMOS equivalent
74LS00 the low-power Schottky implementation


Read More

GIGO:

garbage in, garbage out

Often abbreviated as GIGO, this is a famous computer axiom meaning that if invalid data is entered into a system, the resulting output will also be invalid. Although originally applied to computer software, the axiom holds true for all systems, including, for example, decision-making systems.
Read More