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

 Critically analyse the difference between horizontal application software and vertical application software


Create an Observable Collection. Listen to its Collection Changed Event and



display message on UI for each operation.



1. Addition: “Element ‘x’ is added in collection”



2. Removal: “Element ‘x’ is removed from collection”



Use enum NotifyCollectionChangedAction to differentiate the action

Problem 2: Fill in the function shopSmart(orders,shops) in shopSmart.py, which takes an orderList (like the kind passed in to FruitShop.getPriceOfOrder) and a list of FruitShop and returns the FruitShop where your order costs the least amount in total. Don't change the file name or variable names, please. Note that we will provide the shop.py implementation as a "support" file, so you don't need to submit yours. Test Case: We will check that, with the following variable definitions: orders1 = [('apples',1.0), ('oranges',3.0)] orders2 = [('apples',3.0)] dir1 = {'apples': 2.0, 'oranges':1.0} shop1 = shop.FruitShop('shop1',dir1) dir2 = {'apples': 1.0, 'oranges': 5.0} shop2 = shop.FruitShop('shop2',dir2) shops = [shop1, shop2] The following are true: shopSmart.shopSmart(orders1, shops).getName() == 'shop1' and shopSmart.shopSmart(orders2, shops).getName() == 'shop2'


Capital and Country

The goal of this coding exam is to quickly get you off the ground with HTML select element

Use the below reference image

https://assets.ccbp.in/frontend/content/dynamic-webapps/capital-and-country-op.gif

Achieve the design with HTML, CSS, and functionality with JS

  • When the capital name is changed in the HTML select element then the text content in the HTML paragraph element should be the country name of the selected capital.

Warning

Do not delete the prefilled code in JS.


Note

HTML option element should consist of selected as an attribute for the value newDelhi by default.

Javascript:

let countries = {

  paris: "France",

  london: "United Kingdom",

  newYork: "USA",

  newDelhi: "India"

};





Bike Search

The goal of this coding exam is to quickly get you off the ground with HTML search input element and Bootstrap spinner

Use the below reference image:

https://assets.ccbp.in/frontend/content/dynamic-webapps/bike-search-op.gif

Instructions

  • Add the id searchInput to the HTML input element
  • Add the id searchResults to the HTML container element

Achieve the design with HTML, CSS, and functionality with JS

  • When the page is opened or a value is entered in the HTML input element with id searchInput and press on Enter key
  • Make an HTTP Request (GET method) using Fetch with URL https://apis.ccbp.in/city-bikes?bike_name=
  • The value entered in the HTML input element with id searchInput should be the value for the query parameter of the given URL
  • Add the loading status with the Bootstrap component spinner while making HTTP Request (GET method) as shown in the image.
  • Create HTML elements dynamically to set the data i.e, the bike name and city, and add the newly created element to the HTML container element with id as 

Problem 1: Add a buyLotsOfFruit(orderList) function to buyLotsOfFruit.py which takes a list of (fruit,pound) tuples and returns the cost of your list. If there is some fruit in the list which doesn't appear in fruitPrices it should print an error message and return None (which is like nil in Scheme). Please do not change the fruitPrices variable.

Test Case: We will check your code by testing that the script correctly outputs Cost of [('apples', 2.0), ('pears', 3.0), ('limes', 4.0)] is 12.25


CCBP Login

output reference image:

https://assets.ccbp.in/frontend/content/dynamic-webapps/ccbp-login-op.gif

<head> </head>

<body>

<div class="container">

<h1 class="form-heading">CCBP Login</h1>

<form id="myForm">

<div class="username">

<label for="name" class="username-heading">User Name</label>

<input autocomplete="off" type="text" id="name" class="input" />

<p id="nameErrMsg" class="error-message"></p>

</div>

<div class="password">

<label for="password" class="password-heading">Password</label>

<input type="password" id="password" class="input" />

<p id="passwordErrMsg" class="error-message"></p>

</div>

some countinue is there.....//


A sender needs to send the two data items 010011 and 010110, find the checksum at

sender and receiver to check if there is any error or not?


Consider a scenario where a “Class A” network is divided into 7 subnets of fixed length.

Design each subnet and find the IP Range and subnet mask of each subnet. (Choose any class-

A address).


Write a C++ program that

1) prompts the user to input 3 decimal numbers (with a fraction part)

2) Prints the five decimal numbers.

3) Converts each decimal number to the nearest integer.

4) Prints the five converted numbers.


LATEST TUTORIALS
APPROVED BY CLIENTS