Answer to Question #198637 in Programming & Computer Science for Zeeshan

Question #198637

Q#1

PROGRAMMING TASK:

 

Q: You have to develop a PROGRAM (in any programming language) that takes a TEXT file (.txt) and performs the following tasks:

 

1: Remove WHITE SPACES (more than one at any point - two or more).

 

2: Generate TOKENS for identifier, keywords, numbers and punctuations, and any others.

e.g.

<if, keyword>

 

OUTPUT: the program should generate a new TEXT file (.txt) containing tokens and the remaining text (e.g. output.txt)

 

The input file should contain at least 300 words.

Q#2

What's the meaning of GNU, GCC, POSIX in compiler? Explanation required with example?

Q#3

a) Explain what does this regular expression means?

(' ' + '\n' + '\t')+

 

b) Write a Regular Expression for acceptance of File names in Windows OS.

 

e.g.

AI Book.exe

new_file.jpg


1
Expert's answer
2021-05-27T19:14:07-0400
Dear Zeeshan, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS