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
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
Achieve the design with HTML, CSS, and functionality with JS
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.