Subjects
PRICING
COURSES
SIGN IN
Start Free Trial
Navjot S.
Graduate Student of Computer Science at IIT Chicago, with 4 experience as System Programmer at Intel, India.
Tutor Satisfaction Guarantee
Perl Programming
TutorMe
Question:

Write Perl program and display elements of an array?

Navjot S.
Answer:

#!/usr/bin/perl @ages = (25, 30, 40); @names = ("John Paul", "Lisa", "Kumar"); print "\$ages[0] = $ages[0]\n"; print "\$ages[1] = $ages[1]\n"; print "\$ages[2] = $ages[2]\n"; print "\$names[0] = $names[0]\n"; print "\$names[1] = $names[1]\n"; print "\$names[2] = $names[2]\n"; Output:- $ages[0] = 25 $ages[1] = 30 $ages[2] = 40 $names[0] = John Paul $names[1] = Lisa $names[2] = Kumar

Computer Science (General)
TutorMe
Question:

Explain all the components of Computer System and their functionality?

Navjot S.
Answer:

WIll explain all the components of Computer and how they work together:- The Central Processing Unit: (CPU), Buses, Ports and controllers, ROM; Main Memory (RAM); Input Devices; Output Devices; Secondary Storage; floppy disks, hard disk, CD-ROM

Algebra
TutorMe
Question:

If y = 2, then y^3(y^2-y)=??

Navjot S.
Answer:

y^3(y^2-y) y^(3+2) - y^(3+1) [formula-> a^m x a^n = a^(m+n)] y^5 - y^4 Substitute y=2, 2^5 - 2^4 32 - 16 Answer= 16 Way 2-> y^3(y^2-y) y^3 x y (y - 1) y^(3+1)(2-1) {substituting y=2} 2^4 x 1 Ans= 16

Send a message explaining your
needs and Navjot will reply soon.
Contact Navjot
Ready now? Request a lesson.
Start Session
FAQs
What is a lesson?
A lesson is virtual lesson space on our platform where you and a tutor can communicate. You'll have the option to communicate using video/audio as well as text chat. You can also upload documents, edit papers in real time and use our cutting-edge virtual whiteboard.
How do I begin a lesson?
If the tutor is currently online, you can click the "Start Session" button above. If they are offline, you can always send them a message to schedule a lesson.
Who are TutorMe tutors?
Many of our tutors are current college students or recent graduates of top-tier universities like MIT, Harvard and USC. TutorMe has thousands of top-quality tutors available to work with you.