Other Engineering Answers

Questions: 881

Answers by our Experts: 418

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 & Filtering

a) Converts the following binary number(11001101) into gray code


b) Add the BCD numbers


1000+0110

Reduce the following using K-map techniques.


F (A,B,C,D) = πM(0,2,3,8,9,12,13,15)

Draw and explain 4 bit BCD adder using IC 7483



Implement the following logic function using single 8:1 multiplexer.


F (A,B,C,D) = ∑m(1,4,6,9,13)

Minimize the following logic function and realize using gates.


F (A,B,C,D) = ∑m(1,3,5,8,9,11,15)+d(2,13)

Draw a paging hardware for a 64-byte memory with 4-byte pages.

Have a look at the following piece of code and state and explain the output.


#include <stdio.h>


int main() {


// your code goes here


char *s = "abcdef";


*(s + 2) = '\0';


printf("%d", s);


return 0;


}

Andrew likes the topic of strings a lot and tries to solve as many problems as he could on this topic. He came



across a problem in which he was given two numbers in the form of strings and he was asked to subtract the second



number from the first and print the answer. The strings will contain numbers only.



Sample Run:



Input:



222



122



Output:



100

Andrew practices programming a lot and recently he came across the topic of pointers. He wondered if he could






use pointers to print all prime numbers from an array? Could you help him by writing a program which takes input






in an array and uses a pointer to find and print all the prime numbers from the array.






Sample Run:






Input:






1 2 3 4 5






Output:






2 3 5

Find latitude and longitude of first 20 countries with a population greater than or equal to the population limit given below. Use the country details from this dataset.


Your task is to find the sum of the length of all lines (in kms) that can be drawn between co-ordinates of these countries.


Assume radius of earth: 6371 km


Round length of each line and final result to 2 decimal points


If co-ordinates are missing for any country use 0.000 N 0.000 E



Population limit: 2072

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS