Articles Page
In this assignment, let's build a Articles Page by applying the concepts we learned till now. You can use the Bootstrap concepts and CCBP UI Kit as well.
Use the image URLs given below.
Categories Icons Images
Carousel Images (Technology)
Carousel Images (Science)
Create a function that takes an argument. Give the function parameter a unique name. Show what happens when you try to use that parameter name outside the function. Explain the results.
Write a MATLAB code to solve the following difference equations by z-transform and display the solutions by stem plots:
1) An amount of USD 10,000 $ is deposited in a bank account with an annual interest
rate of 4%. Determine the balance of the account after 15 years.
2) Suppose that the number of bacteria in a colony doubles every hour. If a colony begins with five bacteria, how many will be present in n hours?
3) A bank account gives an interest rate of 5% compounded monthly. If you invest initially Rs .1000 and add Rs. 10 every month. How much money do you have after 5 years?
For the following data set {25, 74, 45, 65, 17, 31, 64, 50}, Perform insertion sort and write output of each iteration
Each of the following pair represent vertices of an edge, Draw graph of them. Show Adjacency List Representation of graph. (Only diagram and No code)
Write code to in the form of function to delete a sub-tree of general tree whose parent node is p
Write the declaration of binary tree as ADT. In this ADT, write a function in to count number of nodes in a binary tree
How do i make dependent combo box in qt creator with C++ code. Lets say i have two combo box. I select option 1 in combo box 1, it should display certain option in combo box 2 only.
Get all the distinct user_ids who liked at least one video uploaded by Android Authority channel (channel_id=364) but didn't like the video uploaded by Tech savvy channel with video_id =1005.
Note : consider reaction_type as liked
Sort the output in the ascending order of user_id by using subquries
Complete Program.
int word_count(ifstream &in ); // return the number of words in text 1
int character_count(ifstream &in); // return the number of characters
#include "stdafx.h"
#include <iostream>
# include <string>
# include<fstream>
using namespace std;
int main()
{ ifstream in; in.open(“text1.txt”);
cout<< “number of words”<< word_count(in )<<endl;
cout<< “number of characters”<<character_count(in)<<endl;
in.close( );
}