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

Identify and discuss an appropriate information system that would enable the company to reduce paper flow. automate communications and share business business data with its business shareholders


_Given an integer number

N as input. Write a program to print the right-angled triangular pattern of N rows as shown below.Input

The first line of input is a positive integer.

Explanation

For example, if the given number is

5, the output should be

______

|  /

|  /

| /

| /

|/


make an algorithm using pseudocode and python which will get atm pin code from user. if the pin is "1234" then it should display correct otherwise if the pin is incorrect 3 times it should display account locked



Write a c++ program that makes a dynamic array and uses an integer to checks its size. Enter numbers in it until the user presses 4. Create another array and copy the contents of first array into the new array and delete the memory of 1st array. Also print as you insert the values.


Convert list [""python"", ""is"", ""a"", ""programming"", ""language""] into string"

"python is a programming language""


second Problem


a= "python is a programming language"

expected output:- {"python"=6, "is"=2,a""=1,"programing"=11, "language"=8}


Question 3

 

a) Using C or C++ or a program of your choice, write a program that list the storage size of a float, list the minimum and maximum float values, and the precision of the float. 

​​​​​​​​​​​​[10 marks]

 

b) Describe the steps of how you will compile the program written in Question a) above in a typical compiler such as gcc or a compiler of your choice. ​​​[10 marks]

 

c) Show the output (screenshot) of how you have compiled the program written in Question a) above and attach all files (screenshot) generated where applicable. [5 marks]

​​​​​​​​​


b) The IBX company has recently acquired a state-of-the-art

language processing system; and its components work

seamlessly to compile source programs into object codes

for the computer to execute. As a compiler designer and

constructor, you are required to show and educate new users

on its use.

(i). Describe, in your own words, the parts/components of

the language processing system that your company has acquired to users to understand, and explain the role(s)

that each component plays in the compilation process. ​​​​[7 marks]

 

(ii). Explain how each component accomplishes its role(s)

in the compilation process and the output that it produces

​​​​​​​​​​​​[4 mar


​c) Classify each of the following grammar rules according to Noam Chomsky’s classification of ​grammars (in each case give the largest – i.e. most restricted - classification type that applies):

​1. aSb → aAcBb

​2. B → aA

​3. S → aBc

​4. S → aBc

​5. Ab → b

​6. AB → BA


Question 1

A language processing system aims at compiling source programs into codes

for the computer to execute. A language can thus be defined as a set of strings. There are several known ways of specifying a language.

 

​a) Describe what a grammer is ​​​​​​

 

​b) Given a language L and grammer denoted as G1 show that aabb is in L(G1) where the the ​grammer G1 is defined as 

​1. S —›ASB

​2. S —›Ɛ

​3. A —›a

​4. B —›b

​where a,b are terminal symbols and Ɛ represents the null string.

​​​​​​​​​​​​​


​​​​​


Suppose the Government of US hired you as a web developer. They want you to develop a website like National Command and Operation Center (NCOC). Their requirements are high performance, secure, scalable, and easy to use.


Being a web developer, you need a programming language that can help you build feature-rich interactive web solutions. You have two options PHP and Python as programming languages. PHP and Python are the most popular languages among web developers. Both languages are powerful and popular programming languages. So, being a developer, which language will you prefer to develop the website? Justify your answer with solid reason.


LATEST TUTORIALS
APPROVED BY CLIENTS