Programming & Computer Science Answers

C++ 9913
Python 5288
Java | JSP | JSF 3611
C 1680
C# 1362
Computer Networks 989
Algorithms 652
Databases | SQL | Oracle | MS Access 641
HTML/JavaScript Web Application 588
Other 537
Visual Basic 358
Assembler 209
Software Engineering 202
AJAX | JavaScript | HTML | PHP 166
MatLAB 150
MatLAB | Mathematica | MathCAD | Maple 124
Action Script | Flash | Flex | ColdFusion 112
UNIX/Linux Programming 89
Web Development 73
Excel 36
ASP | ASP.NET 23
Delphi | Pascal 21
Perl 16
Prolog 9
Functional Programming 9
MathCAD 5
Wolfram Mathematica 4
WPF 4
Ruby | Ruby on Rails 3
NodeJS Web Application 2

Questions answered by Experts: 26 876

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search

1 For the relations s and r in your study manual of our chapter 2 (i.e., joining two relations), suppose
we type a collection of relational algebra queries, and get the following results.
A B C D E
Test if a number grade is an A (greater than or equal to 90). If so, print "Great!".
Differentiate between a software and hardware
What is the value of mylist after the following lines are executed?
def mystery(l):
l = l[1:]
return()

mylist = [7,11,13]
mystery(mylist)
Sam wants to create a program that required 20 integers. Suppose the following numbers are the value input as A [10] = {-10, 20, 30, 40, – 50, -60, -70, 30, 90, 10} and B[10] = {15, 12, 13,14, – 50, -60, -20, 25, 35, 30}.
Based on the problems given, write a program using selection control structure.


1. A car park has the following charges. The 1st hours cost RM2.00. The sub sequent hours cost RM1.00 per hour. Write a program for this problem.
Sam is developing a software program in python and has a question about how to implement a particular feature. which use of a resource is most likely to provide Sam with the best results?
Write a c++ program to create a structure to specify data on students roll number, name, year of joining. write a function to print names of all students who joined in particular year and print data of students whose roll number is given.
Hint (Use Structure Array and search data from structure array for particular year& rollno)
Consider the following lines of Python code.

b = [23,44,87,100]
a = b[1:]
d = b[2:]
c = b
d[0] = 97
c[2] = 77
Which of the following holds at the end of this code?

a[1] == 77, b[2] == 77, c[2] == 77, d[0] == 97
a[1] == 87, b[2] == 87, c[2] == 77, d[0] == 97
a[1] == 87, b[2] == 77, c[2] == 77, d[0] == 97
a[1] == 97, b[2] == 77, c[2] == 77, d[0] == 97
One of the following 10 statements generates an error. Which one? (Your answer should be a number between 1 and 10.)

x = ["slithy",[7,10,12],2,"tove",1] # Statement 1
y = x[0:50] # Statement 2
z = y # Statement 3
w = x # Statement 4
x[0] = x[0][:5] + 'ery' # Statement 5
y[2] = 4 # Statement 6
z[4] = 42 # Statement 7
w[0][:3] = 'fea' # Statement 8
x[1][0] = 5555 # Statement 9
a = (x[4][1] == 1) # Statement 10


Consider the following lines of Python code.

b = [23,44,87,100]
a = b[1:]
d = b[2:]
c = b
d[0] = 97
c[2] = 77
LATEST TUTORIALS
APPROVED BY CLIENTS